Forums / General / I want to add my own .php file in ezpublish
Avishek Chakraborty
Friday 08 June 2007 2:57:01 am
This is the first time I am using ezpublish.I want to add my own .php file in ezpublish, please tell me how to do that
Sébastien Morel
Friday 08 June 2007 3:55:07 am
Hello,
You must do an extension, for this operation read this :
http://ez.no/ezpublish/documentation/development/extensions/template_operatorhttp://ez.no/ezpublish/documentation/development/extensions/introduction_to_extensions
++
-- eZ c'est plus fort que toi ! http://www.ez-france.org http://blog.plopix.net @Novactive (http://www.novactive.com)
Pascal Specht
Thursday 14 June 2007 6:37:12 am
Hello Avishek,
It's not clear what you mean by 'add', so maybe you're not talking about extending eZpublish, but just adding php files...Then if you wonder why you can't have your own php file executed on the web server, it may also just be that the rewriteRule is preventing the server from serving your page!
Adding this rule in your httpd configuration may then be your solution:
RewriteRule ^/my_own_file.php$ /my_own_file.php [L]
Hope this helps,Pascal