Template integration?

Jeroen Coumans jeroen at linuxfromscratch.org
Thu Jul 1 05:12:05 PDT 2004


Jeremy Huntwork said the following on 01-07-2004 13:49:
> On Saturday 26 June 2004 02:29 pm, Anderson Lizardo wrote:
> 
>>I don't think that it would be that hard. swish and Jeremy's
>>lfscounter.cgi rewrite already use the same templating engine. It's
>>not even necessary to all systems have the same template engine. They
>>just need to have some kind of INCLUDE directive that allow to insert
>>"global" HTML code. Swish-e, lfscounter.cgi (Jeremy's rewrite) and
>>TWiki certainly have. We still need to check the other systems.
> 
> 
> What would be an appropriate location for the "global" HTML code 
> mentioned here?  A templates directory under /home/httpd?

Sure, /home/httpd/templates, with subdirectories for app-specific 
templates. Don't forget to import them first in CVS (or Subversion when 
we get our repository), with a post-commit we can check it out in the 
target directory.

-- 
Groeten/Greetings,
Jeroen Coumans
{faq,website}@linuxfromscratch.org
www.jeroencoumans.nl



More information about the website mailing list