Conditional code for when the logged in visitor has a champion centre?

Options

Hi everybody--hoping someone might know the answer to this...

In Teamraiser, you can conditionalize content based on whether the logged-in user is registered and has a participant centre or not.  The code looks like this:

<convio:choose xmlns="http://www.convio.com">

  <convio:when title="Has a participant center" test="eq">

    <convio:smileysurprised:p><convio:session name="48" param="0:if-has-participant-center"></convio:session></convio:smileysurprised:p>

    <convio:smileysurprised:p>TRUE</convio:smileysurprised:p>

    <convio:then>Has a participant centre</convio:then>

  </convio:when>

  <convio:smileysurprised:therwise title="Does not have a participant center"></convio:smileysurprised:therwise>

</convio:choose>

Is there a similar type of code for conditionalizing based on whether or not the user has a champion centre for a Personal Fundraising campaign?

There is no such option under the Conditionals menu when you're editing a Personal Fundraising module page.

Thanks so much!

Tagged:

Comments

  • What you'd want to do is use a group conditional. Convio automatically creates groups for champions (one group for each fund type and an "All Champions" group). If they're in the Champion group, they have a Champion Center.

  • Noah Cooper:

    What you'd want to do is use a group conditional. Convio automatically creates groups for champions (one group for each fund type and an "All Champions" group). If they're in the Champion group, they have a Champion Center.

    Thanks Noah--that did indeed do the trick!

Categories