This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Been Told wrote:
I have tried to include a piece of PHP in a .tpl file and it just doesn't work...
It won't, as the templating engine doesn't know how to process php code.
You can either install the extreme styles mod or assign the php "output" to a variable in the appropriate php file and then reference the variable in the tpl file
John (A cranky old man. "Looking for an echo ...")
using any control-panel install/update is like shooting yourself in the foot. It won't kill you, but you're really going to hobble around until it heals.
Using the wrong tools (Front Page, DreamWeaver) gives the same results
Do not PM me for Support!
Been Told wrote:I have tried to include a piece of PHP in a .tpl file and it just doesn't work...
It won't, as the templating engine doesn't know how to process php code.
You can either install the extreme styles mod or assign the php "output" to a variable in the appropriate php file and then reference the variable in the tpl file
Thanks for the info.
I wonder why that isn't mentioned in the above guide? Do you happen to know where I can get an up to date version of that mod by the way?
John (A cranky old man. "Looking for an echo ...")
using any control-panel install/update is like shooting yourself in the foot. It won't kill you, but you're really going to hobble around until it heals.
Using the wrong tools (Front Page, DreamWeaver) gives the same results
Do not PM me for Support!