Forums / Setup & design / Hiding content under specific ID's

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Hiding content under specific ID's

Author Message

Hugo Gallo

Wednesday 07 May 2003 10:42:34 am

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?

Paulo Almeida

Wednesday 07 May 2003 10:57:42 am

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)

PACPI.COM Internet Consulting
http://pacpi.com