This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » Hiding content under specific ID's
expandshrink

Hiding content under specific ID's

Hiding content under specific ID's

Wednesday 07 May 2003 7:42:34 pm - 1 reply

I'm using the following code to hide content under a specific node (62 in this case)

{section show=ne($node.node_id,62)}
<a href={"content/view/full/62/"|ezurl} class="white11Link">Home</a>
{/section}

This code works great at first, until you drill down into deeper content. Then this code becomes inconsistant. Sometimes showing, sometimes not when you go back to view node 62.

Am I using this code correctly?

Wednesday 07 May 2003 7:57:42 pm

Do you use cache?
If yes i think you can resolve that using {$module_result.node_id} instead of $node (that is not acessible in cache)

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from