Can you put php directly in a .tpl file? I know a fair bit of php but have never messed about with templates.
So is this possible to put php directly into a .tpl using the <? ?> tags?
Thanks
Can you put php directly in a .tpl file? I know a fair bit of php but have never messed about with templates.
So is this possible to put php directly into a .tpl using the <? ?> tags?
Thanks
I imagine that it's possible....just rename the original file on your webhost so you don't lose anything then put what you want into one of the .tpl files and upload it and see what happens. That's what I do. If it doesn't work, I just restore the original file.
If it's not fun, stop doing it!
vshare use smarty templates, it is possible to run php inside smarty templates, you can find more details at
http://www.google.com/search?q=running+ ... y+template
Bookmarks