Forums / Developer / Current page node id [SOLVED] / Comment62462
Lo' F.
Saturday 09 October 2010 7:47:28 am
I had a similar problem recently. I solved it using ezhttp operator and a HTML GET parameter, which was the id of the node to display.
Hi Kévin! Thanks to your hint I finally got the perfect solution!
Your ezhttp took me here http://doc.ez.no/.../Template-operators/Data-and-information-extraction where I came across this module_params
Made it run this way ..
module_params()|attribute(show)
I got this outcome...
and...
{module_params()[parameters][NodeID]}
gave me the node id I was looking for, so I eventually made it work!
{if module_params()[parameters][NodeID]|eq($object.main_node.node_id)}...
Thank you again!
loredanaebook.it