We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32982
    • 674 Posts
    Hi to all, time ago since last post. A proyect bring me back to modx again. To this proyect I do two plugins and update one done time ago.

    My initial option was revolution, but i couldent get enought speed developing on a local old machine runing a virtualbox debian machine. I need 8-10 or more seconds for each page request. So finaly use evolution.

    The updated respource is SuperPage[1], still need to touch a bit but now has more power and better UX, better code...

    The other both are:
    1. SortManager[2] is a bit of javascript applied to a duplicate DocManager module, to "show" only short tab. Best to give access to non admin manager users.
    2. SiteStatus[3] Another module to bring to non admin manager users the ability to offline/online the site and change the message.

    [1] http://modx.com/extras/package/superpage
    [2] http://modx.com/extras/package/sortmanager
    [3] http://modx.com/extras/package/sitestatus

    All the best, Jabiertxof.
    [ed. note: xyzvisual last edited this post 11 years, 8 months ago.]
      Jabiertxof (formerly XYZVISUAL)
      My bussines: http://marker.es
      https://www.youtube.com/user/jabiertxof/videos
      • 9995
      • 1,613 Posts
      Thanks!
        Evolution user, I like the back-end speed and simplicity smiley
        • 13226
        • 953 Posts
        @ jabiertxof

        SuperPage is one of the best modules in my opinion, saves a lot of work - looking at the screenshot in the download area I see you have added more fields - much better smiley

        So, my problem:

        I just installed over the old plugin code and everything went pear shaped. PHP error => no transalias

        Do you now have to have transalias installed as well ?
          • 32982
          • 674 Posts
          Quote from: iusemodx at Jan 22, 2015, 10:35 AM
          Do you now have to have transalias installed as well ?
          @iusemodx

          Yes transalias is required (tested on the version evolution 1.0.15 ships -1.0.2-) sorry for dont put this new requisite. This plugin need to be instaled but can be disabled if you want.

          Also missing configuration string for this plugin. The good condiguration string for Super Page are:
          &howMany=How Many Pages;int;7 &table_name=Trans table;list;common,russian,dutch,german,czech,utf8,utf8lowercase;common &char_restrict=Restrict alias to;list;lowercase alphanumeric,alphanumeric,legal characters;legal characters &remove_periods=Remove Periods;list;Yes,No;No &word_separator=Word Separator;list;dash,underscore,none;dash

          I Just update the module, adding a good count of pages -one less-, show the good module configuration -+ transalias- and remove a unwanted char from the output.

          Regards and thanks for the feedback! [ed. note: xyzvisual last edited this post 11 years, 8 months ago.]
            Jabiertxof (formerly XYZVISUAL)
            My bussines: http://marker.es
            https://www.youtube.com/user/jabiertxof/videos
            • 13226
            • 953 Posts
            @ jabiertxof

            I have re-installed and made the changes required - nowworks, thanks. I have one or two things:

            1 => Setting the Menu Index is no-longer available - which means if I create lets say 300 files, I have to go through every single file to change the menu-index from 0 to whatever it is.

            Previously you could set from where you needed it: lets say I already have 10 ID's and as per default the menuindex starts at 0, my new pages would start at menuindex 10 and count up e.g. 11, 12 etc.

            Can this option be put back into the module ?

            2 => The module is hard coded to use "MODxRE" style.css - wouldn't it be better to set it to use the current manager styles ? e.g "MODxRE" or "MODxCarbon" - I personaly use "MODxCarbon"

            Just a side note - I see that Transalias doesn't have to be installed - the files just need to be available in the plugins folder
              • 13226
              • 953 Posts
              @ jabiertxof

              I have just gone through the code and found a few HTML errors - I have attached the copy I have if you are interested.

              I am having a major problem:

              The URL is not being converted into everything being lowercase. To test I used "dsssd 21221 + -sadsadHTML" as a page title and it was converted into this "dsssd-21221-sadsadHTML" alias

              Attached is a screen of the Module Config
                • 32982
                • 674 Posts
                Quote from: iusemodx at Jan 22, 2015, 03:51 PM
                I have one or two things:

                1 => Menu Index

                2 => The module is hard coded to use "MODxRE"

                I do another version with yous suggestion, i change a bit the menu index starting, now start at the index you put in the module.

                @iusemodx Thanks for the feedback!
                  Jabiertxof (formerly XYZVISUAL)
                  My bussines: http://marker.es
                  https://www.youtube.com/user/jabiertxof/videos
                  • 13226
                  • 953 Posts
                  That's great smiley cheers

                  Have you had the alias problem before ?
                    • 32982
                    • 674 Posts
                    Quote from: iusemodx at Jan 22, 2015, 05:06 PM
                    That's great smiley cheers
                    Thanks iusemodx, sorry dont see the second post. Now added another version that fixes transalias problem implementation and remove all html errors, except the HTML5 placeholder one sad

                    Regards, Jabier.
                      Jabiertxof (formerly XYZVISUAL)
                      My bussines: http://marker.es
                      https://www.youtube.com/user/jabiertxof/videos
                      • 13226
                      • 953 Posts
                      Cooooooooooooooool smiley

                      I have just modified again - instead of having the placeholder always output the words "longtitle", "menutitle" etc. I have changed the placeholder to:
                      placeholder="'. $number .'"

                      This way you can see the relation straight away e.g. 1 1 1 1 next line 2 2 2 2 etc. (see screenshot)

                      I also added a hover effect for the table rows.

                      I have updated the code to HTML5 - it now renders 100% valid smiley and renders perfectly in the browser

                      I have modified the Actions area - a couple of my clients use this module and I had in their old copies an explanation / long text form - for better understanding of each option.

                      That's me for the night - was a very long day, Great work Jabier smiley