Forums / Developer / Get last visited node / Comment60664
Kévin S.
Tuesday 10 August 2010 7:04:24 am
I've just finished using a HTTP GET parameter. Works like a charm, and does not need cookies or sessions.
I appended directly to the link URL the GET param (in the A node template) :
<a href={concat("bla/blabla/form?idselected=", $node.node_id)|ezurl}>my link</a>
Then in the form template, I used the ezhttp operator :
{if ezhttp_hasvariable( 'idselected', 'get' )} {def $idselected=ezhttp( 'idselected', 'get' )} {/if}
Thank you for your help, Thiago !
___
Kévin