Have a new idea of showing custom content...

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Andor
Forum Members
Forum Members
Posts: 49
Joined: Sun Feb 19, 2006 1:42 pm

Have a new idea of showing custom content...

Post by Andor »

...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:

Code: Select all

{page_alias_new}
{$customcontent_groups}
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...

Code: Select all

{if $customcontent_groups == page_alias_new}
Can anyone shed som light  ???

Thanks
Last edited by Andor on Wed Nov 26, 2008 3:10 pm, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”