Wednesday 07 November 2007 12:01:56 am
Xavier, The form + var:
{def $product = $object.data_map.name.content|wash() }
<form method="post" action={"content/action"|ezurl} >
<input type="hidden" name="ContentLanguageCode" value="{ezini( 'RegionalSettings', 'Locale' , 'site.ini')}" />
<input type="hidden" name="ClassIdentifier" value="information" />
<input type="hidden" name="NodeID" value="{$object.main_node.parent.node_id}" />
<input type="image" class="btn-info-produit" src={"1x1.gif"|ezimage} name="NewButton" />
</form>
...which generate the regular url: http://217.147.200.104/fr/content/edit/6920/1 I would like to have this one: http://217.147.200.104/fr/content/edit/6920/1/(product)/The name of a product If I'm right, "The name of a product" can be find in the ask edition template (let's say edit/information.tpl) as {$view_parameters.product} I think I have to change the form's action (?) or maybe it's not the correct usage... Laurent (still alive ;)
|