extensions/mymodule/actions/ ?!

Author Message

Selmah Maxim

Wednesday 23 July 2003 4:50:38 am

the docs. is saying the actions/ is for actions for forms , but after submiting i get this error :

PHP script extension/categories/modules/categories/action.php does not exist, cannot run.

is this mean i need tomove the action from /action/ to /module/categories ?

or I need to change the template for that ?

Jan Borsodi

Wednesday 23 July 2003 4:56:36 am

The content/action module view assumes you have a content_actionhandler.php file in your actions directory. Did you use content/action or did you implement an action view on your own module?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Wednesday 23 July 2003 5:10:46 am

I have write new action for this modules, in the form the action is going to /categories/action, but the the folder name in ext./module/ is actions ... I had tried I get :

The requested view 'actions' could not be found in module: 'categories'

Selmah Maxim

Wednesday 23 July 2003 5:32:59 am

jan ..

should I just move the action.php and thats it ?

if yes, then this will work in the new versions ?

Jan Borsodi

Wednesday 23 July 2003 5:56:55 am

If you have your own action view then you must simply add the view to your module definition.
If you want to use the content/action system (not really required) you must create the correct file in the actions subdirectory.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Wednesday 23 July 2003 6:03:41 am

I see .. then i`ll just move the action.php to modules folder !

thx alot !

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.