We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29635
    • 361 Posts
    The Man Can! Reply #1, 19 years ago
    Yet another manager usability hack from me. If you’ve ever wanted to modify the MODx Manager homepage, it’s actually quite easy, but I figured I’d document it here in case anybody didn’t know it was a possibility.

    Find the appropriate "welcome.html" file for the manager theme you’re using, somewhere in /manager/media/styles/MODxLight/welcome.html.

    If you want to hide the tree from your users (on login), add this to the top of your welcome.html:
    <script type="text/javascript" charset="utf-8">
    	// Hide the tree
    	top.mainMenu.hideTreeFrame();
    </script>
    


    Then just add some links to what you want to do. For what I tend to do, it’s adding some "Quick links" to create new documents. Here’s an example with some links to create new documents under some existing parents (modify the PID values accordingly):
    <h3>QUICK LINKS:</h3>
    <ul style="padding-bottom:30px">
    	<li><a href="/manager/index.php?a=4&pid=19">Create new PR</a></li>
    	<li><a href="/manager/index.php?a=72&pid=21">Create new Media Coverage</a></li>
    </ul>
    


    Nothing groundbreaking here, but it might be useful to somebody. You could also quite easily add logos (perhaps your company’s logo and your client’s logo), icons, links to TVs or chunks or whatever suits your fancy.

    If you’re scratching your head wondering how to find the URLs for the links: load the page as normally in the MODx manager, then (using Firefox) right click on the content area frame and say "This Frame -> Open frame in new tab". Then copy the URL from there.
      Need MODx Ecommerce? Try FoxyCart!
      • 29181
      • 480 Posts
      Thanks for sharing this.
      I’m going to use this to give it a more personal touch and add a coupe of links too.

      Cheers,
      Taff
        Adrian Lawley: www.adrianlawley.com
        • 6726
        • 7,075 Posts
        I tweaked the welcome page a few times, but those tips (like hiding the tree) are very helpful thanks Brett !
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l&#39;outil id
          • 33337
          • 3,975 Posts
          Zaigham (aka zi) Reply #4, 19 years ago
          EXCELLENT! EXCELLENT!

          I would copy the entire theme (i.e. MODxLightClient) and modify the file and keep the original assigned to admin login, thus client will get the customized theme, and all powers will remain to admins wink

          thanks man.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 6726
            • 7,075 Posts
            Good point Zi, considering you can set a default theme and even have it defined per user, great idea smiley
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l&#39;outil id
              • 14050
              • 788 Posts
              This should probably be moved to the Wiki.
                Jesse R.
                Consider trying something new and extraordinary.
                Illinois Wine

                Have you considered donating to MODx lately?
                Donate now. Every contribution helps.
                • 7231
                • 4,205 Posts
                This is great. I will definitely add some cool quick links. Thanks for sharing these.
                  [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                  Something is happening here, but you don&#39;t know what it is.
                  Do you, Mr. Jones? - [bob dylan]
                  • 29635
                  • 361 Posts
                  The Man Can! Reply #8, 19 years ago
                  Wow, glad so many people find this as interesting as I did. I’ll add this to the wiki soon and post back here with the link.

                  @zi: Agreed on duplicating the theme, and good idea with assigning different themes (with different welcome pages) to different users.
                    Need MODx Ecommerce? Try FoxyCart!
                    • 29635
                    • 361 Posts
                    The Man Can! Reply #9, 19 years ago
                    Ok, sorry to be dense, but I’m not familiar with MediaWiki. I created a page:
                    http://wiki.modxcms.com/index.php/Customizing_the_Manager_Homepage
                    but can’t figure out how to add it to the Tips or Howto category pages. Somebody want to PM me with a tip?
                      Need MODx Ecommerce? Try FoxyCart!
                      • 33337
                      • 3,975 Posts
                      Zaigham (aka zi) Reply #10, 19 years ago
                      I would edit any other page and see whats the syntax wink

                      I checked it for you, put:

                      [[Category:HOWTO]]

                      on the top of the page.

                      update: i did it for you though wink
                        Zaigham R - MODX Professional | Skype | Email | Twitter

                        Digging the interwebs for #MODX gems and bringing it to you. modx.link