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.

eZ debug

Timing: Jan 18 2025 19:23:26
Script start
Timing: Jan 18 2025 19:23:26
Module start 'layout'
Timing: Jan 18 2025 19:23:26
Module start 'content'
Timing: Jan 18 2025 19:23:27
Module end 'content'
Timing: Jan 18 2025 19:23:27
Script end

Main resources:

Total runtime1.2673 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.9141152.6250
Module start 'layout' 0.00720.0042 740.539139.4453
Module start 'content' 0.01141.2545 779.9844559.4609
Module end 'content' 1.26590.0013 1,339.445312.4688
Script end 1.2673  1,351.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3247160.0003
Check MTime0.00150.1148160.0001
Mysql Total
Database connection0.00090.071010.0009
Mysqli_queries1.202594.8824660.0182
Looping result0.00090.0715640.0000
Template Total1.215095.920.6075
Template load0.00240.188220.0012
Template processing1.212695.679320.6063
Template load and register function0.00020.019010.0002
states
state_id_array0.01030.813410.0103
state_identifier_array0.00110.090420.0006
Override
Cache load0.00200.1616240.0001
Sytem overhead
Fetch class attribute can translate value0.00120.091820.0006
Fetch class attribute name0.00140.107170.0002
XML
Image XML parsing0.00060.045220.0003
class_abstraction
Instantiating content class attribute0.00000.001480.0000
General
dbfile0.00070.0563170.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs