Hi i am wondering if i could use PHP functions in ez publish templating. If any one knows how to use it. Any hint will be greatful.

eg:- i want to use str_replace() PHP function in ez-publish template.

Accepted Answer

Firstly we have to make an extension to use PHP function in ez publish.

Steps for making an extension in ezpublish is given in link below:

http://blog.developeronhire.com/using-custom-php-functions-in-ez-publish-templates/

Hope it will solve your porblem.

This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki