rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: SpiderPig902 on March 03, 2010, 02:44:11 PM

Title: Template Files
Post by: SpiderPig902 on March 03, 2010, 02:44:11 PM
I have i hope a simple questions. Can you have multiple templates files for one template? For example, i have many many sections in my TPL file and it takes forever to sift through the file. I would like to make multiple files and the maybe use a "INCLUDE" statement in the main TPL file to include the sub files into the template.
Can that be done? Or anything close?

Thanks
Title: Re: Template Files
Post by: rejetto on March 03, 2010, 02:51:40 PM
you can load the content of sections from other files.

[progress]
{.load|progress.tpl.}
Title: Re: Template Files
Post by: SpiderPig902 on March 05, 2010, 02:12:49 PM
thanks. Doesent work that well when there are other macros and such in the file but it works.
Title: Re: Template Files
Post by: rejetto on March 05, 2010, 03:26:00 PM
other macros work.
what doesn't work in the file are [sections].