Forums / General / I want to add my own .php file in Exponential

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

I want to add my own .php file in Exponential

Author Message

Avishek Chakraborty

Friday 08 June 2007 2:57:01 am

This is the first time I am using Exponential.
I want to add my own .php file in Exponential, 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/Exponential/documentation/development/extensions/template_operator
http://ez.no/Exponential/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 Exponential, 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