Share » Forums » Setup & design » How-to: php script inside tpl file?

How-to: php script inside tpl file?

How-to: php script inside tpl file?

Friday 27 February 2004 12:57:30 am - 2 replies

Author Message

Alex Jones

Friday 27 February 2004 6:15:28 am

Alessandro, I am afraid there is not an easy way to include PHP inside of a template. This was a choice that the eZ team specifically made. What you should do is build an operator that includes the PHP you need access to. Check out http://ez.no/ez_publish/documentation/development/kernel/custom_template_operators and perhaps search for 'operators' on the ez.no site for more information.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alessandro Cipriani

Friday 27 February 2004 6:37:21 am

thanx alex
i think that another way to solve my problem would be use ezhttp to retrieve the session id... isn't it possible?

best regards
alessandro

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu