We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8548
    • 104 Posts
    Hi all,

    I’ve found this old topic (http://modxcms.com/forums/index.php/topic,36478.0.html) wich is what I would need but it was never answered.

    I have almost the exacte same need, has anyone have an answer for this?

    - Products
    - Product page
    • General description -->(this is the general content area)
    • Division 1 description -->(this is a TV)
    • Division 2 description -->(this is a TV)
    • Division 3 description -->(this is a TV)
    • etc.

    I’ve manage to get the TV’s in place (one for each division as showed before)
    I’ve created a tag tv to specify by a checkbox in wich division the product is in (cause it can be in all division or only a fiew)

    I use Ditto to list the product by division (it work’s great even when I have more than 1 check box checked)

    I can get (with PHx) the specific content from the tv with this
    [+phx:if=`[*division_List*]`:is=`division1`:then=`[*division1_content*]`+]

    if only one division tag is checked, but when I have 2 or more division checked it returnes nothing cause I can’t figure out how to get PHx to do this.

    I would need for PHx to be able to get the correct answer like in Ditto for knowing where it’s needed, or wher it was (the division) when it was ask to show content.

    any suggestion?
    thanks.

      • 8548
      • 104 Posts
      No body has an idea?
      is this impossible with modx? huh

      I’m still trying to find the solution if anyone has an idea, i’m listening.

      thanks! grin