View Single Post
Old 07-11-2006, 08:32 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,197
Quote:
Originally Posted by Jace
because it is a template file it won't allow me to insert the php include directly into it

someone told me I could create a call function and place the php include into the config files and call that function from the config files

how do I do that?
I usually do the logic in the php program calling the tpl file and then just include it as a tag.

The apache directive would be an addtype but because the tpl files are not usually called directly, they are used by the php program to format the output, that will probably not work.
__________________
All cookies cleared!

Last edited by sarettah; 07-11-2006 at 08:34 PM..
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote