Author Topic

Bayron Guevara

Monday 27 September 2010 11:59:23 pm

Comment62042

I think you are trying to call a global variable inside a content view, from here you need to use the # character to indicate access to the global scope. So maybe the following code solve your problem:

{if eq($#module_result.node_id, $object.main_node_id)}
  {$node_name|wash}
{else}
  <a href="{$node_url|ezurl}">{$node_name|wash}</a>
{/if}

Web Developer & Modern Philosopher
Visit http://www.laprensa.hn, http://www.diez.hn, http://www.estilo.hn