How to use Custom PHP Functions in eZ Publish Templates?

1.2k views Asked by At

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.

2

There are 2 answers

0
Doh Developeronhire On BEST 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.

0
vlc On