We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40862
    • 8 Posts
    Hi, BobRay. Thx for great extra, but I have a problem with it. I have a lot of resources on the site, the output is very slow and cumbersome. tried use getpage, but the property limit just cut category. What to do?
      • 3749
      • 24,544 Posts
      getResources can be fairly slow if you have a lot of resources, especially if you are including TVs and/or images. If there are any conditional PHX-style output modifiers, that can also slow things down a lot.

      Caching the page and/or the getResources tag can help, but if that's not it, the only solution would be to replace getResources with a custom snippet.


      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 12410
        • 353 Posts
        Hi,
        Using the Alphabet Version.
        Is it possible to sort the resultant resources alphabetically so:

        A....J.....Z

        A
        ...
        J
        Jim
        Jack
        Joe
        Z
        ...
        **************************************************************************

        I want J to be sorted alphabetically so its
        J
        Jack
        Jim
        Joe

        How do I achieve this?
        Thanks

        Revo 228, PHP 5.4.9, Apache 2.2, Ubuntu13, SiteAtoZ siteatoz-1.0.3-beta1
          • 12410
          • 353 Posts
          Quote from: howster at Aug 19, 2013, 08:51 AM
          Hi,
          Using the Alphabet Version.
          Is it possible to sort the resultant resources alphabetically so:

          A....J.....Z

          A
          ...
          J
          Jim
          Jack
          Joe
          Z
          ...
          **************************************************************************

          I want J to be sorted alphabetically so its
          J
          Jack
          Jim
          Joe

          How do I achieve this?
          Thanks

          Revo 228, PHP 5.4.9, Apache 2.2, Ubuntu13, SiteAtoZ siteatoz-1.0.3-beta1
            • 12410
            • 353 Posts
            My bad, answer:

            [[!SiteAtoZ? &parents=`1789` &sortby=`{"pagetitle":"ASC"}`]]