View Single Post
  #10 (permalink)  
Old 08-21-2006, 03:35 PM
savant's Avatar
savant savant is offline
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
The basic tpl files in pligg sort of create a standardization in the use of templates
So as pligg develops further in the future, template designers can simply follow the standard method, and no tinkering around.

now if you wanted to use foot.tpl
you could simply open up body.tpl
and change

{include file="$tpl_footer.tpl"}

to

{include file="foot.tpl"}

and you could do this with the whole template. simply hardcode with the filenames you feel fit. and you do not have to define them anywhere else.
It should work alright.

Another way is to add some php code into the .tpl file. But i don't think you want something that does that.


hope this has helped

Last edited by savant; 08-21-2006 at 03:42 PM..
Reply With Quote
The Following User Says Thank You to savant For This Useful Post: