We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33982 ☆ A M B ☆
    • 476 Posts
    So I'm building a Revo site (I'll probably use 2.2 rc-1) and needing to create a membership login area. Everett created a great tutorial here:

    http://rtfm.modx.com/display/ADDON/Login.Basic+Setup#Login.BasicSetup-MembersHomePage

    My question: In Evo, there was the ability to easily specify the web user's login homepage:

    http://screencast.com/t/4D4k2AnWC

    Is there anything comparable with Revo? My client won't be overly technically inclined so I was hoping for an interface as easy as Evo's to designate the web user's login homepage.

    Thanks!

    Kris
      Precision Web Development ... SmashStack.com
      • 3749
      • 24,544 Posts
      I think the only way to do it is to add a custom postHook to Login that looks up the users home page (say, stored in their profile) and redirects the user to it.

      There's an example in my book that uses a tree_root_id user setting to store the home page ID and restricts the user to just that page and its children. It redirects the user to a "members" page using &loginResourceId in the Login tag. That page has links to all user pages.

      It would be more convenient for the user, though, if there was a Login postHook that just directed the user to their personal page.
        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