on 7/31/01 9:57 PM, Antonio Dias at [EMAIL PROTECTED] spake:

> On Tue, 31 Jul 2001, Bill Shupp wrote:
>> send_template("main_menu.html") would first parse html/header.html, then
>> html/main_menu.html, then html/footer.html.  All the hooks (##D, etc) would
>> work in the header and footer files as well.  Then, you could move whatever
>> you wanted into these file to accommodate your needs.  Seems like the
>> simplest way.  And if you don't want to use them, leave them empty.
> 
> I think an include command (##I ?) seens to be the right way so one can
> simply edit html/* templates and put ##Isome_in_file_relative_to_html_dir.
> The template engine should include the file pointed by ##I and parse it
> again.
 
Why should the text be outside of the html directory?  How would that help?
Where would you specify the location of that file?  I like the idea of
keeping all the html for a specific domain in one directory.  You can
already do virtual domains in unique html directories.  I like that you have
to specifically put header or footer information in the appropriate files.
To me, that should be enough.

Regards,

Bill Shupp

Reply via email to