Have a new idea of showing custom content...
Posted: Wed Nov 26, 2008 2:26 pm
...but can't get the syntax right 
I've created a UDT, page_alias_new, that gives me a sub string of the page alias - the first 3 letters. The UDT works fine.
Now, I want to compare the value of that UDT with $customcontent_groups from FEU.
Just to check the value of my variables, I've put this in my template:
Values are good, i.e. the output value from {page_alias_new} equals the value from {$customcontent_groups}.
However, I can't get the expression below to work, no matter what I try...
Can anyone shed som light 
Thanks

I've created a UDT, page_alias_new, that gives me a sub string of the page alias - the first 3 letters. The UDT works fine.
Now, I want to compare the value of that UDT with $customcontent_groups from FEU.
Just to check the value of my variables, I've put this in my template:
Code: Select all
{page_alias_new}
{$customcontent_groups}
However, I can't get the expression below to work, no matter what I try...
Code: Select all
{if $customcontent_groups == page_alias_new}

Thanks