We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44035
    • 3 Posts
    Is there a way to change template upon user login? I would like my client to see the new template after login in from the front end, is it possible? If so, how?

    Thanks.

    Edit: I'm using MODx Revo, the current template is the "Base Template" with Login extra, upon client login I would like the new template to show up instead of the "Base Template". [ed. note: wvelez last edited this post 13 years, 4 months ago.]
      • 32699 ☆ A M B ☆
      • 427 Posts
      Wouldn't it be easier to have login redirect the user to a resource grouped area of the site?
      http://rtfm.modx.com/display/revolution20/Making+Member-Only+Pages

        Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

        Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Seeing as you are a new MODx user, do you understand how Templates work in MODx?
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 3749
          • 24,544 Posts
          You can set the template for any resource using the "template" dropdown when you edit it. When the page is viewed from the front end, it will use that template. You don't have to use the base template at all if you don't want to.
            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
            • 44035
            • 3 Posts
            Thanks you guys for answering. I'm learning MODx, thanks to Shawn's book. @sotwell I'm understanding how templates work in MODx, I just thought there was a way to give certain user a different template once logged in. I used to manage that on joomla, which Im moving away from since it's getting hacked like every minute now.

            Shawn, thanks for the link, I'll try that method. BTW, your book is really good, I have the kindle version and as soon as I can afford it, I'll get the printer version and also the MODX Official Guide by Bob.

            Shawn, on your book whenever you mention "Manger" do you mean "Manager"?
              • 32699 ☆ A M B ☆
              • 427 Posts
              Quote from: wvelez at Jun 07, 2013, 08:24 AM

              Shawn, on your book whenever you mention "Manger" do you mean "Manager"?

              LOL. Yes. We got most of those, but still they plague me...

              BTW I am glad you like the book. Could you write a review for it on amazon, my site, or even your site like some others have done...

                Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
                • 44035
                • 3 Posts
                Well, Im more of a desktop publisher than web designer, my specialty is Adobe InDesign. I use it to create books for my job, was your book done in InDesign or Quark? I think that at least for the Kindle version you should be able to do a "Find and Replace" and get those "Mangers". There were a few other mistakes but can't remember right now which one were those. I'll post a review on Amazon, but I'm a really slow reader.


                Quote from: wshawn at Jun 07, 2013, 08:42 AM
                Quote from: wvelez at Jun 07, 2013, 08:24 AM

                Shawn, on your book whenever you mention "Manger" do you mean "Manager"?

                LOL. Yes. We got most of those, but still they plague me...

                BTW I am glad you like the book. Could you write a review for it on amazon, my site, or even your site like some others have done...

                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  I actually got my first Slashdot submission with a review of the book. Got the usual Slashdot grumps grumping about PHP and such, but according to Jay they were getting something like 200 hits an hour on the MODx site coming in from slashdot.org. So any reviews will draw at least some attention.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 3749
                    • 24,544 Posts
                    If you look closely at my book, I bet you could find some examples of "Manger" there too. wink It's really easy to do when you're typing fast.

                    The worst one for me was typing "modx" when I meant to type "mode." I've typed MODX so many times that it's almost impossible for me to type the word "mode" on the first try.

                      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