Categories > TinyButStrong general >

run php in template

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: testebr
Date: 2006-04-27
Time: 21:45

run php in template

It's possible run php codes in template file?

The main idea of the classe is separate html from php codes, offcourse, but... its a curiosity mine. Hehhe

cya
By: Ciarán
Date: 2006-04-28
Time: 10:20

Re: run php in template

Check out the `script` and `onformat` parameters.
By: testebr
Date: 2006-05-01
Time: 03:39

Re: run php in template

hmm.. I read the manual now and this not is much simple..

Can you give a little example?

Thank you
By: Ciarán
Date: 2006-05-02
Time: 10:07

Re: run php in template

There's an example in the "Subtemplates" section of the manual, under "Insertion driven with Php code using parameter subtpl"