Forums / Suggestions / variable view_parameters in edit.tpl's templates

variable view_parameters in edit.tpl's templates

Author Message

Pablo C. Vergara Castro

Monday 03 January 2005 12:10:34 am

I think that will be interesting to use the variable "view_parameters" also in edit.tpl's templates.

I try to do the next think but it wasn't possible:

I have a template previous to add/edit an object that need a parameter, and the add/edit template need too this parameter to return the previous template but I can not use view_parameters because this not work in edit's template.

Greetings.

Valentin Doroschuk

Tuesday 12 September 2006 8:26:47 am

Added to
3.9.0alpha1 rev. 16849

Dennis Jessen

Wednesday 14 February 2007 5:32:32 am

Does anyone have an idea on how to get view_parameters to the edit template or is not working yet?

thank you

Dennis

André R.

Wednesday 14 February 2007 5:55:48 am

It should work in 3.9 and above, isn't it ?

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

Dennis Jessen

Wednesday 14 February 2007 7:19:54 am

It could very well be working, its very possible that i go the wrong way about it.

I have a custom template that redirect to the content/edit module with an URL formed something like this: /site/content/edit/somenodeID/(aViewParameter)/aViewParameterValue

This URL get stripped somewhere along the way ( possibly in kernel/content/edit.php ).

So my guess is that i go the wrong way about it.

Thank you

Dennis