We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8632
    • 4 Posts
    Hello everyone !

    Let me explain myself.

    I want to make a video game related website. The achitecture should be (we are 4 and we all agree about that) like this :

    - Games
    - Video Game (like "Metal Gear : Solid")
    - Test
    - Video
    - News

    Like that each game is on unique thing, to wich we attribute several stuffs : Game type(s), Saga (Metal Gear for my example), platform, etc...

    The first idea I had was to make a category for each tag : Types, Sagas, Platforms, etc...

    Then, I make a Snippet to call every sub-elements of thoses categories in a TV, shown in a radio button form.

    Problem, I can’t make things work when there are multiple types, or platforms (no need to say I’d like to make those element clickable in order to navigate with them). They display in a chain of IDs, with no "," between them so I can’t make it work.

    Does anyone have a solution, or do I misconcepted my stuff ?

    Thanks.

    PS : If it’s simpler in Revolution, I can start back on it, the website is not this advanced.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you’ll be using a TV with multiple items, use a "delimited list" output widget (usually using a , for the delimiter) then your processing snippet will have something to work with in separating the items (with explode() for example).
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4172
        • 5,888 Posts
        something like here? http://www.eyekit.co.uk/sunglasses/sunglasses-results.html

        I made a snippet which gets all tags from tvs and creates dropdowns from them. They can also be depending of each other as you can see.

        Since there are a lot of resources and TVs to search it tooks very long to generate the dropdowns dynamically.
        So I wrote a module which copies all relevant TVs to one table for searching.
        Now it runs a lot faster.
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 8632
          • 4 Posts
          Quote from: sottwell at Jul 29, 2010, 06:30 AM

          If you’ll be using a TV with multiple items, use a "delimited list" output widget (usually using a , for the delimiter) then your processing snippet will have something to work with in separating the items (with explode() for example).

          Ok, now I feel dumb.

          Thank you, I’ll watch this way