Share » Forums » Developer » How to insert PHP code in templates???

How to insert PHP code in templates???

How to insert PHP code in templates???

Monday 01 August 2005 1:22:27 pm - 2 replies

Author Message

David Eriksson

Tuesday 02 August 2005 12:32:40 am

You can create your own template operators.

See documentation here:
http://ez.no/products/ez_publish_cms/documentation/development/extensions/template_operator

/David

Mikael Johansson

Tuesday 02 August 2005 12:32:43 am

You can build cutom operators and use them, but you're probably trying to do something that shouldn't be done in templates if you need PHP code.

Remember that templates can be cached, so your code might not always be run.

What are you trying to do? Perhaps it is possible in template code? Or maybe it's the kind of stuff that tou'll need to write an extension for anyway?

Mikael Johansson, Sweden

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

36 542 Users on board!

Forums menu