We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33337
    • 3,975 Posts
    Here is my idea on centralizing the related variable:

    Make manager/media/styles/ default path for all styles, just delete all the manager/images

    Put default MODx theme into manager/media/styles/MODx/(theme_files_folders)

    Another theme can be put in manager/media/styles/AnotherTheme/(a_theme_files_folders)

    Make all images/CSS references to manager/media/styles/$theme_name/

    Now anyone can make manager theme, share the package; end-user can simply upload it under manager/media/styles/ and select from System Configuration, TaDa! skin installed!

    Thoughts ?

    regards,

    zi
      Zaigham R - MODX Professional | Skype | Email | Twitter

      Digging the interwebs for #MODX gems and bringing it to you. modx.link
      • 22303 MODX Staff
      • 10,725 Posts
      Too many directories I think -- put them in /manager/themes/ to mirror /assets/themes/
        • 33337
        • 3,975 Posts
        Quote from: OpenGeek at Mar 18, 2006, 12:45 PM

        Too many directories I think -- put them in /manager/themes/ to mirror /assets/themes/

        /manager/themes/ <- even better

        .. what is "to mirror ...." ? :-/
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: zi at Mar 18, 2006, 01:04 PM

          .. what is "to mirror ...." ? :-/
          "to mirror" means to duplicate or reflect (think of looking at yourself in a mirror and seeing your reflection; it looks the same as you) grin
            • 25663 MODX Staff
            • 12,272 Posts
            i think the manager should also look in assets/user/manager/themes as well, but we’ll save that discussion for later wink
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 25663 MODX Staff
              • 12,272 Posts
              The work that banzai has done accomplishes this exactly folks... the only remaining problem in the latest branch that I see is that the tree menu and context popup do not receive the proper theme path for some reason. I’m stumped.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 25663 MODX Staff
                • 12,272 Posts
                And now i bring you the 5th test build in which we can now actually skin the entire manager with one folder upload containing css and image files. Now it’s time to start getting into the finer points and details... laugh
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 18397
                  • 3,250 Posts
                  Getting this error during install (still says install worked fine)

                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 78
                  
                  Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 81
                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 94
                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 114
                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 124
                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 136
                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 152
                  
                  Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 172
                  Couldn't determine next publish event!
                  Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 218
                  Couldn't determine next unpublish event!
                  Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site5/fst/var/www/html/modx/776/manager/processors/cache_sync.class.processor.php on line 228
                  
                    • 18397
                    • 3,250 Posts
                    Ok, here come the errors:

                    Login page missing ALL styles after installing demo site and I can’t login. I’m going to try another server just in case. I’ll get back to you.

                    UPDATE: I think this might be b/c I had it in /modx/776. Does it need to be in the root or one subdir down?
                      • 6726
                      • 7,075 Posts
                      Quote from: rthrash at Mar 18, 2006, 05:55 PM
                      And now i bring you the 5th test build in which we can now actually skin the entire manager with one folder upload containing css and image files. Now it’s time to start getting into the finer points and details... laugh

                      Just installed it and did a quick tour : Install went smooth (no errors for me testing local with XAMPP 1.4.16 / Windows XP SP1, I’ll do other test with EasyPHP and WAMP for Windows, then on my hosting service @TextDrive and OVH...). @Mark : it worked for me in a subdir, renamed it modx092r776, no pb.

                      The admin theme swtich went nice too, great !!!

                      So far, just noticed the following file is missing in Default admin theme when I edit a snippet : /manager/media/style/MODx/images/icons/copy.gif (the "duplicate button").

                      And some image paths are incorrect.

                      When editing a document :
                      - edit button image link is broken : /manager/media/images/icons/save.gif while it should be /manager/media/style/MODx/images/icons/save.gif
                      - same for Move, duplicate and delete buttons

                      On the Modules > Manage Modules page :
                      - the new module button has the following path /manager/media/images/icons/save.gif while it should be /manager/media/style/MODx/images/icons/save.gif
                      - the launch module button has the following path /manager/media/images/icons/module.gif while it should be /manager/media/style/MODx/images/icons/module.gif

                      On the Users > Manage Users and Manage WebUsers page : exactly the same as above with save.gif and also the /manager/media/images/icons/user.gif is incorrect

                      On Users > Role Management the transparency of the delete button is not right and the "delete" text is hidden. The trashcan also suffers from the same transparency problem.

                      On My Account > Messages : both save and cancel button image link are broken...

                      On Help > Credits : all "credit" icons have broken image links...

                      That’s it for now.
                      I’ll keep on testing...

                      - local Install on WAMP5 v1.6.1 WinXP SP1 : OK = no errors whatsoever smiley

                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l&#39;outil id