PHP Function Support, Extended Documentation and UTF8 Settings #1
Hello Open-Wide / eZ Community!
Today we present for your review and acceptance:
Please accept this pull request into your master repository branch of OWSimpleOperator and help other users make use of Whitelisted PHP Functions within custom eZ Publish templates.
…xtension version number
…ccurate test feedback
I try this following :
But I get this error message :
Thanks in advance !
Thank you very much for your replies.
Regarding the error you get.
It has been some time since we used this improved extension so our answers may be dusty.
We seem to remember getting the error message you shared when the changes made to "autoloads/eztemplateautoload.php" were not made or were not exactly as provided in the following commit...
We suggest comparing your local changes (diff/run the code) to the extension OWSimpleOperator with our own github copy: https://github.com/brookinsconsulting/OWSimpleOperator which did not have the error you mention.
The solution to that error you share was a very specific one that required the above autoload file to be re-written to check for PHP functions and allow them to be used even if they use more than one parameter.
Hello @sboye / Open-Wide
We offer our most sincere apologies for our previous weak replies. We truly were not having the problems you were reporting so it made testing and solving the problems nearly impossible at the time.
Tonight I set it upon myself to once and for all solve the problems you reported and once again prepare this pull request for another review. In our commits for tonight we have done two things.
First we have solved the errors you were reporting. We have tested with both single parameter php functions and multi-parameter php functions. I am very certain that the previous template operator parameters conversion to php function parameters errors are now finally solved.
Second we have merged in the more recent changes made to the master branch into the php_function_support feature branch solving the merge conflict issue with this pull request. Now this pull request can be automatically merged normally without conflicts.
We realize that a lot of time has passed since we first submitted this pull request.
Please let us know what you think! Thanking you in advance for your continued support!