Gossamer Forum
Home : Products : Others : Gossamer Community :

help with elseif condition

Quote Reply
help with elseif condition
I'm trying to write a elseif condition for my user home page in community that would instruct a user to add content to edit their profile to add content to the page if they have nothing selcted. (Usually this would be for new users. I already have the conditions set for each content item but I can't figure out how to test to see if there is no content selected and then output the instruction on how to edit profiel.
I have something like this
Code:

<%if prof_item eq "1">
<%include content.html%>
<%end if%><%if prof_item2 eq "1">
<%include content2.html%>
<%end if%><%if prof_item3 eq "1">
<%include content3.html%>
<%end if%>I want to put instructions here if all the prof_items are set to 0I'm sure I'm just missing something simple but I'd appreciate the pointerThanks in advanceCCUnet
my Christian web
Subject Author Views Date
Thread help with elseif condition ccunet 3077 Mar 1, 2005, 7:38 PM
Thread Re: [ccunet] help with elseif condition
Andy 2681 Mar 2, 2005, 1:56 AM
Post Re: [Andy] help with elseif condition
ccunet 2671 Mar 2, 2005, 9:16 AM