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

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 22:31:04
Script start
Timing: Jan 18 2025 22:31:04
Module start 'layout'
Timing: Jan 18 2025 22:31:04
Module start 'content'
Timing: Jan 18 2025 22:31:04
Module end 'content'
Timing: Jan 18 2025 22:31:04
Script end

Main resources:

Total runtime0.0175 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0156152.6094
Module start 'layout' 0.00540.0034 741.625039.4141
Module start 'content' 0.00880.0064 781.039193.3984
Module end 'content' 0.01520.0023 874.437534.3047
Script end 0.0175  908.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002916.3373140.0002
Check MTime0.00126.9737140.0001
Mysql Total
Database connection0.00084.612410.0008
Mysqli_queries0.002413.484730.0008
Looping result0.00000.096610.0000
Template Total0.00179.910.0017
Template load0.00105.532410.0010
Template processing0.00084.378310.0008
Override
Cache load0.00073.767210.0007
General
dbfile0.00031.912280.0000
String conversion0.00000.044940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs