Re: [Slashcode-general] Footer won't take template-toolkit stuff

At 15:14 +0200 2001.04.26, Adam Khan wrote:
>> As far as I know, it does work. I would need more information about what
>> "barfs" means.
>
>Diced carrots in a pale creamy mixture crying on the sidewalk. And that the
>footer.inc template just doesn't appear at all -- though it does if I take
>out "[% INSERT includes/wires.inc %]".
I have never used INSERT. If it works anything like INCLUDE/PROCESS (that
is, depending on the Provider), then that won't work. The template object
for Slash::Display grabs templates from from the database, not the
filesystem.
You could try to put the text of that file into a template record in the
database, and see if that works.
--
Chris Nandor pudge@... http://pudge.net/
Open Source Development Network pudge@... http://osdn.com/

I've put a call to an include file in template-toolkit format within the
footer. It works fine if the page is generated dynamically, but barfs the
entire footer if the page is generated statically. WhAt shouLD I change in
order for the template-toolkit stuff to work as well in .shtml files?

At 12:05 +0200 2001.04.26, Adam Khan wrote:
>I've put a call to an include file in template-toolkit format within the
>footer. It works fine if the page is generated dynamically, but barfs the
>entire footer if the page is generated statically. WhAt shouLD I change in
>order for the template-toolkit stuff to work as well in .shtml files?
As far as I know, it does work. I would need more information about what
"barfs" means.
--
Chris Nandor pudge@... http://pudge.net/
Open Source Development Network pudge@... http://osdn.com/

> As far as I know, it does work. I would need more information about what
> "barfs" means.
Diced carrots in a pale creamy mixture crying on the sidewalk. And that the
footer.inc template just doesn't appear at all -- though it does if I take
out "[% INSERT includes/wires.inc %]".
Adam

At 15:14 +0200 2001.04.26, Adam Khan wrote:
>> As far as I know, it does work. I would need more information about what
>> "barfs" means.
>
>Diced carrots in a pale creamy mixture crying on the sidewalk. And that the
>footer.inc template just doesn't appear at all -- though it does if I take
>out "[% INSERT includes/wires.inc %]".
I have never used INSERT. If it works anything like INCLUDE/PROCESS (that
is, depending on the Provider), then that won't work. The template object
for Slash::Display grabs templates from from the database, not the
filesystem.
You could try to put the text of that file into a template record in the
database, and see if that works.
--
Chris Nandor pudge@... http://pudge.net/
Open Source Development Network pudge@... http://osdn.com/

> I have never used INSERT. If it works anything like INCLUDE/PROCESS (that
> is, depending on the Provider), then that won't work. The template object
> for Slash::Display grabs templates from from the database, not the
> filesystem.
>
> You could try to put the text of that file into a template record in the
> database, and see if that works.
Will do. Thanks again.
Adam