Forums / Developer / Get last visited node / Comment60601
Thiago Campos Viana
Friday 06 August 2010 10:02:30 am
You can create a template operator that sets and get a session value using ezhttptool: lib/ezutils/classes/ezhttptool.php
But it isn't as straightforward as using cookies.
Maybe {ezhttp( 'LastAccessesURI', 'session' )} could work, but you will need to fetch the node of the last access URI or something else, don't know, never tried.
Another way could be with $view_parameters, so you link your node b url as path_to_nodeB/(title)/NodeA Tiltle
Then in template you access node A name with {$view_parameters.title}
eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924 Twitter: http://twitter.com/tcv_br