We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7455
    • 2,204 Posts
    ok made my own snippet based on Listsections by Jared
    SectionRoots
    works great.
    Thanks for all the help
      follow me on twitter: @dimmy01
      • 4273
      • 356 Posts
      What does ListGlobal snippet actually do ?

      is this something that can display a list of weblinks with categories ?

      does modx have this function ?

      ie a list of recommended links, with categories etc
        SMF Bookmark Mod - check it out
        http://mods.simplemachines.org/index.php?mod=350
        • 13577
        • 302 Posts

        Snippet for listing global list of links or sections
        (Published pages who’s parent is root). Highlight ability for current section.
        This snippet was designed for making "top level" tab style links. No matter how deep you are in navigation, it will give a list of the most general level options. So for instance, you could have main site sections: products, tutorials, articles. Then no matter how many levels down you went, ListGlobal will always produce the list: products, tutorials, articles.

        As a side note, the section your are currently in is denoted in styles. So if you were 6 levels down in "articles", you could visually indicate that because the articles link would have a CSS class designating it as the current section.

        Hope that helps. There’s more documentation in the snippet itself.
          Standard Disclaimer
          I could be totally wrong.