Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Friday 07 April 2006 6:35:09 am - 5 replies
Kåre Køhler Høvik
Friday 07 April 2006 7:10:45 am
Hi
It this code in the pagelayout or the content view ?
Kåre Høvik
Lukasz Klejnberg
Saturday 08 April 2006 1:33:08 am
in the pagelayout
Saturday 08 April 2006 3:35:18 am
I found this variable $module_result.content_info.parent_node_id so i changed code to:
if eq( $module_result.node_id, 60)} <img src={"urologia_dziecieca.jpg"|ezimage} width="542" height="27" border="0" alt="" /> {elseif eq( $module_result.node_id, 61)} <img src={"glowne_choroby_ukladu_moczowo_plciowego.jpg"|ezimage} width="542" height="27" border="0" alt="" /> {elseif eq( $module_result.content_info.parent_node_id, 61)} <img src={"glowne_choroby_ukladu_moczowo_plciowego.jpg"|ezimage} width="542" height="27" border="0" alt="" /> {/if}
Now work fine :) Is this good solution?
Saturday 08 April 2006 4:03:00 am
Thats a good solution. The code youre using there will not generate any extra/unessesary SQL calls.
Saturday 08 April 2006 4:19:11 am
Thanks :)
You must be logged in to post messages in this topic!