Can this be done? I tried to include some coop code in my footer file. I have done this a lot with footer.php, but never footer.tpl. It doesn't work, and I can't figure out what to do. Am I missing something simple?
what kind of tpl? Smarty, phpbb? if phpBB, you can't use php code in tpl unless you use the xtreme styles mod. if smarty, try placing the code inside {php} {/php} tags
It all depends on what kind of template system you are using. As md stated if Smarty you can use {php}{/php} (make sure its set in the config file though)
I dont' really understand that much about this. I got the tpl files from a free odp script. So I guess they are smarty?? Anyway, including those tags didn't work. I'm stumped!
This script does not use Smarty but depending on what you want to do I can do quick edit and for you. So, what kind of PHP code are you trying to put into the footer file?
HI everybody how can I realize if the php file is included in the smarty template file? I included a php file into my smarty template like this: {php} include('./path/to/whatever.php'); {/php} and I really don't know if it's included or not? sorry i don't know any thing about PHP at all? I'm a web designer.