Friday 25 July 2003 1:39:53 pm
I need to executePHP code directly inside templates in order to include external funcionality, for example our poll system or our banner ad server. I made tests and the PHP code come out as is when I included it in the template. It seems that expanding PHP with specific functions and then writing our own template operator ( http://www.ez.no/developer/ez_publish_3/documentation/development/kernel/custom_template_operators ) would do it, but this method has big disadvantages. I think tweaking the template rendering system would be sufficient to allow execution of PHP inside them and thus solving the problem, but right now I dont have the knowledge about the EZPublish system to do this and cant find that knowledge in the documentation either. I have tried to understand the code from reading it (as EZPublish team suggests) but I have not that kind of talent. Any help or tougths will be appreciated.
|