View Single Post
  #1 (permalink)  
Old 08-20-2006, 11:00 AM
stephencarr's Avatar
stephencarr stephencarr is offline
Casual Pligger
 
Join Date: Jul 2006
Location: UK
Posts: 70
Thanks: 18
Thanked 1 Time in 1 Post
Send a message via MSN to stephencarr Send a message via Skype™ to stephencarr
Question How to use your own template file structure?

I am developing my own template and I want to reduce the number of files that are currently in Mollio or Skidoo. In doing this I am also naming .tpl files differently so that they make more sense to me. A simple example, in Mollio the footer is called footer.tpl and you simply include it like this:

{include file="$tpl_footer.tpl"}

However, if I want to change it to somethign like foot.tpl and include it like this:

{include file="$tpl_foot.tpl"}

It does not get included. I can't seem to find where or how template file names are defined, it seems that you can't just make up your own file names and include them. I am kind of worried that it might not be possible to be really creative with templates because you have to stick to the file names already defined. If anyone has any advise on this please let me know.

Last edited by stephencarr; 08-20-2006 at 11:19 AM..
Reply With Quote