Friday 03 June 2011 2:54:24 am
Hi there, I tried the following, but it fails: In my dummy.ini I have defined the following settings:
[Tag_Nodes]
PredefinedPageNodeIds[impressum]=765 PredefinedPageNodeIds[kontakt]=1288 Then in my pagelayout.tpl I defined:
{def $PredefinedPageNodeIds = ezini('Tag_Nodes','PredefinedPageNodeIds','dummy.ini') $currentNodeId = $module_result.node_id} When I try the following condition, I get always TRUE, what's wrong?
{if ($PredefinedPageNodeIds|contains($currentNodeId))}
doSomehting... {/if} Thanks for every help, Tom.
|