Forums / General / send parameters to edit

send parameters to edit

Author Message

Yannick Komotir

Thursday 11 September 2008 4:26:19 am

Hi,
i read in official documentation of ezpublish 4.0 folllowing lines

In eZ Publish versions prior to 3.9, you cannot pass custom view parameters to the ”edit”
view of the ”content” module. From 3.9, it is possible and thus you can use custom view
parameters in the ”edit.tpl” templates...

But i can't make it, when I put the link in the form http://www.example.com/content/edit/13/03/eng-GB/(color)/green/(amount)/34, once on the page I lost all the additional information address becomes http://www.example.com/content/edit/13/03/eng-GB.

I need your helps, or else is there another way to send somes values to an edit view?

Thank's for your help
Yan

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Gabriel Finkelstein

Friday 12 September 2008 7:48:32 am

If you can't work it out, you could use session variables instead.

André R.

Friday 12 September 2008 9:39:22 am

might be related to:
http://issues.ez.no/IssueView.php?Id=13186&activeItem=7

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Yannick Komotir

Monday 15 September 2008 6:53:48 am

Thank's for your answers, i try to do it

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

eZ debug

Timing: Jan 19 2025 04:44:25
Script start
Timing: Jan 19 2025 04:44:25
Module start 'content'
Timing: Jan 19 2025 04:44:26
Module end 'content'
Timing: Jan 19 2025 04:44:26
Script end

Main resources:

Total runtime0.6029 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.8438180.8516
Module start 'content' 0.00560.5933 769.6953602.2891
Module end 'content' 0.59880.0040 1,371.984446.1328
Script end 0.6029  1,418.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.4722140.0002
Check MTime0.00130.2127140.0001
Mysql Total
Database connection0.00080.133310.0008
Mysqli_queries0.555392.0956630.0088
Looping result0.00070.1108610.0000
Template Total0.578095.920.2890
Template load0.00190.311320.0009
Template processing0.576195.550320.2880
Template load and register function0.00010.017910.0001
states
state_id_array0.00130.210310.0013
state_identifier_array0.00060.101920.0003
Override
Cache load0.00150.2541210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.119630.0002
Fetch class attribute name0.00190.317370.0003
XML
Image XML parsing0.00140.225630.0005
class_abstraction
Instantiating content class attribute0.00000.002580.0000
General
dbfile0.00120.1960310.0000
String conversion0.00000.000930.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs