Friday 09 May 2008 3:43:44 am
Hello, I need to be able to show certain items if the user is a specific part of the site (in this case parent node 554). I've tried using the code below but it doesn't work.
{if $node.object.main_node.parent_node_id|eq ( '554' )}
<p> this is 554 </p>
{/if}
Is there another way of doing this, or is there something wrong in my code? Thanks.
|