If/else Statements By Active Product

Discussion in 'Customization & add-ons' started by artbyvicky, Jan 18, 2004.

  1. artbyvicky

    artbyvicky New Member

    Joined:
    Jul 16, 2003
    Messages:
    5
    Okay, maybe I'm a little overworked here, but I can't seem to figure this out and I think it should be something simple. This is my problem: I have created a list of links to display to my users on their amember pages. Some of these links will only apply to users of specific active products. I know I can list them in aMember's Admin, but this route doesn't fit my needs for all the links (and for display reasons). Here is what I'm looking for:

    If Active Product=1 display nothing; else display Link 1
    Link 2
    If Active Product=1,2,3 display nothing; else display Link 3
    Link 4
    If Active Product=1 display Link 5; else nothing
    Link 6, etc

    These are the different scenerios I need to resolve. Does this make sense? Is it possible? I sure hope someone can help with this as its driving me nuts.

    Thanks to whomever can lead me in the right direction!
  2. alex-adm

    alex-adm Guest

    Where do you want to display it?
    I hope it is some PHP page protected by php_include protection?

Share This Page