Categories > TinyButStrong general >

having php code read into the template?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: dcgamers
Date: 2007-12-01
Time: 01:16

having php code read into the template?

My main template includes the header then the footer right below the header. I want to include php in between the subheaders, php that is in the index file (where I define the main template)

Thanks.
By: Skrol29
Date: 2007-12-02
Time: 23:38

Re: having php code read into the template?

You can use parameter "script" to include a part processed by a PHP script.
Or you can use a PHP global variable to store the content you want to insert. Then you insert it using a Var field.