We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22202
    • 23 Posts
    Hi,

    I wanted to set Template Variable Sort Order, in order to have one field appearing before "Document content".

    I have tried different value for the "sort order" of the template variable, i have tried to put 1, 0, -1.

    But "Document content" always appear before it,

    What can i do ? Is there a solution for my problem ?

    thanks in advance.
      • 25663 MODX Staff
      • 12,272 Posts
      Not at this time... sorry. sad
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 22202
        • 23 Posts
        Ok, thanks for your quick reply.
          • 2819
          • 30 Posts
          I think that field "sort order" in the form for defining template variables affects the sort order of the different options for that template variable

          for instance when a tv is a dropdown..

          The field sort order doesnt seem to influence the place (order) in which the template variables are shown, that can be controlled by going to the resources > manage resources > template >> template variables >> change the order of the template variables ...

            • 16879
            • 87 Posts
            Quote from: bartnelis at Mar 07, 2007, 12:01 PM

            that can be controlled by going to the resources > manage resources > template >> template variables >> change the order of the template variables ...

            I can’t find this and I’d really like to be able to organise my TV’s - my current client will need things where she expects them to be. Anyone got any idea how to change the order of TV’s as they appear in the document editing pages?
              • 16879
              • 87 Posts
              Bingo! Many thanks. That’ll up the manager usability a notch.
                • 16879
                • 87 Posts
                Oh yes - that’s well hidden. Good stuff. Thanks again!
                  • 27376
                  • 576 Posts
                  Quote from: Leezig at May 03, 2007, 06:20 PM

                  Oh yes - that’s well hidden. Good stuff. Thanks again!
                  Out of curiosity, and for future development and in a strive to make the MODx manager more intuitive, where would you expect this functionality (sort order of TVs) to be placed?
                    • 16879
                    • 87 Posts
                    Well, funnily enough now I know where it is it makes perfect sense to have it there because its template specific. Guess I wasn’t looking hard enough . Can’t think of anywhere better for it at the moment.

                    You know what would be good to have here? Some way to organise/group template variables within the manager - I’ve set up blocks that the user can toggle on and off and it would be great to be able to have each set of associated TV’s for each block in it’s own box with a title on it. Just a thought...
                      • 6726
                      • 7,075 Posts
                      Quote from: sirlancelot at May 03, 2007, 08:40 PM
                      Out of curiosity, and for future development and in a strive to make the MODx manager more intuitive, where would you expect this functionality (sort order of TVs) to be placed?

                      Since TVs might not remain tied to templates in the future, the most intuitive thing you could do is make all available TV fields when editing a document draggable and sortable (imagine how cool that would be grin ). Even better, you could add icons to remove the TV from the document or add one for that matter (but I am getting ahead there, TVs are still tied to templates not documents).
                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l'outil id