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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.