We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50923
    • 137 Posts
    Hello all I have some issues with creating wayfinder menu based on TV. Here is what i need

    I have some TV Category with values News,Presentation, Life.
    And other TV SubCategory with values like Today, Tomorrow, Kinder.

    And have some resource articles (id 6)that have posts that will have defined TV Category and TV sub Category. It means that article post can be in only one Category and in several SubCategory.

    What i need is to make dinamic Wayfinder menu to pass all Tv values, and if other category is added to display it. Here is like menu should look like this

    <ul>
        <li class="first selected"><a title="Home" href="#/">Home</a></li>
        <li><a title="Rubrik" href="#">News</a>
            <ul>
                <li class="first"><a title="Today" href="#">Today</a></li>
                <li class="last"><a title="Tomorrow" href="index.php?id=10">Tomorrow</a></li>
            </ul>
        </li>
        <li><a title="Presentation" href="#">Presentation</a>
            <ul>
                <li class="first"><a title="Today" href="#">Today</a></li>
                <li class="last"><a title="Tomorrow" href="index.php?id=10">Tomorrow</a></li>
            </ul>
        </li>
    </ul>


    The problem is that is has to be check if in main category have some subcategory and display menu.
    this looks like trying to make categories in Articles and display only articles that are in that main Categorys, but someties filter them based on sub categorys

    I can hardcoded the values there but it is possible to make it maybe with getresources or with wayfinder?

      <a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try it with pdoMenu. It lets you do a lot more than Wayfinder does. It's part of the pdoTools package.

      http://docs.modx.pro/en/components/pdotools/
        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
        maybe, this
        http://modx.com/extras/package/taxonomies
        is something for your use-case
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 50923
          • 137 Posts
          Quote from: Bruno17 at Jan 12, 2016, 04:06 AM
          maybe, this
          http://modx.com/extras/package/taxonomies
          is something for your use-case

          Txanks Bruno i think this is right way, can you maybe just help me buliding menu with taxonmies?
            <a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
            • 4172
            • 5,888 Posts
            I could.
            But personally, I didn't use taxonomies.
            I build something custom, if I need something like that
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 50923
              • 137 Posts
              Any info how to use it?

              Txanks
                <a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
                • 4172
                • 5,888 Posts
                Sorry, no, there isn't any documentation or something and I'm not sure, if it would fit your needs out of the box.
                That's why I've linked you to taxonomies, which sounds, like it could work for you.
                  -------------------------------

                  you can buy me a beer, if you like MIGX

                  http://webcmsolutions.de/migx.html

                  Thanks!