User defined Tags -- Conditions are not checked -- give the solution
Posted: Tue Sep 09, 2008 7:25 am
Greetings Friends,
I get the values from user defined tags(UTD). But I unable to check the if condition. Please look the following my code.
Please give the solution...
Page name is test
activelink----- UDT
===============
$pageurl=count(explode('/',$_REQUEST["page"]));
if($pageurl==1)
{
echo $pagename=$_REQUEST["page"];
}
else
{
echo $pagename=end(explode('/',$_REQUEST["page"]));
}
Global Content blocks
-----------------------------
{if activepagelinktest eq 'test'} welcome {/if}
Please give the solution for me...
Regards
Kumaran
I get the values from user defined tags(UTD). But I unable to check the if condition. Please look the following my code.
Please give the solution...
Page name is test
activelink----- UDT
===============
$pageurl=count(explode('/',$_REQUEST["page"]));
if($pageurl==1)
{
echo $pagename=$_REQUEST["page"];
}
else
{
echo $pagename=end(explode('/',$_REQUEST["page"]));
}
Global Content blocks
-----------------------------
{if activepagelinktest eq 'test'} welcome {/if}
Please give the solution for me...
Regards
Kumaran