We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16769
    • 3 Posts
    Hi, can there be more than one start folder? I tried entering two start ids (separated by a comma) but it only returned results from the first folder.

    Thanks
      • 10487 MODX Staff
      • 1,535 Posts
      Hi,

      It’s not currently possible to have multiple start IDs but it would be relatively easy to modify it to ... I can have a look later this week if that helps.

      Thanks, Garry
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 16769
        • 3 Posts
        Quote from: garryn at Jun 12, 2006, 01:31 PM

        I can have a look later this week if that helps.

        Thanks in advance!
          • 10487 MODX Staff
          • 1,535 Posts
          Version 0.6 has landed! grin

          Included in this update:

          • Multiple Start IDs are now possible by using a comma-separated values in the &startid parameter.
          • Pages with titles that start with a non-alphabet character can now be listed (default is to list them under ’0-9’)

          The update is available in the first post of this thread. The next update will focus on the templating aspects of the snippet - @yentsun, i haven’t forgot about your request wink

          Have fun,
          Garry
            Garry Nutting
            Senior Developer
            MODX, LLC

            Email: [email protected]
            Twitter: @garryn
            Web: modx.com
            • 20944
            • 3 Posts
            I do not know if anyone else would find this helpful, but I made a slight modification to this snippet. It allows for a default letter to be selected when one first views the page. For instance, if you wanted to call the atoz snippet with ’A’ displayed first when someone visits the page, you could just do so like this:
            [!atoz? &letter=`A` !]
            Similar to other variables for the snippet. I changed lines 56-57 from
            //-- Gets the selected letter if a letter has been chosen
            $letter = (isset ($_GET['letter'])) ? stripslashes($_GET['letter']) : '';
            to
            //-- Gets the selected letter if a letter has been chosen
            if (isset ($_GET['letter'])) { $letter = stripslashes($_GET['letter']); }
            elseif (isset ($letter)) { $letter = stripslashes($letter); }
            else { $letter = ''; }

            The snippet still works normally if no letter is set to default.
              • 10487 MODX Staff
              • 1,535 Posts
              Nice modification, nanoo smiley I’ll make sure that it gets included in the next release.
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com
                • 34017
                • 898 Posts
                Gary,

                Thanks for the work. When the templates and yentsun’s ideas make it in here, this will make a great site map. (Is there a better sitemap available)?

                Chuck
                  Chuck the Trukk
                  ProWebscape.com :: Nashville-WebDesign.com
                  - - - - - - - -
                  What are TV's? Here's some info below.
                  http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
                  http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
                  • 10487 MODX Staff
                  • 1,535 Posts
                  Hi Chuck, thanks for the compliments smiley

                  As for better sitemaps, this is just one way to display a sitemap - it all depends on how people want their map to be displayed. A well-crafted Dropmenu snippet call can also function as a sitemap wink

                  Thanks,
                  Garry

                    Garry Nutting
                    Senior Developer
                    MODX, LLC

                    Email: [email protected]
                    Twitter: @garryn
                    Web: modx.com
                    • 34017
                    • 898 Posts
                    DropMenu ... aha!

                    That’s a great idea. Man I love this system.

                    Chuck
                      Chuck the Trukk
                      ProWebscape.com :: Nashville-WebDesign.com
                      - - - - - - - -
                      What are TV's? Here's some info below.
                      http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
                      http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
                      • 3229
                      • 8 Posts
                      I am trying to use atoz for an intranet, but it does not work with private documents, is there a chance to easily do so?

                      thanx in advance