We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14006
    • 2 Posts
    Hello, i am new with mod x and i think it’s a great system!

    I have read the pdf manuel that i have buyed online but there i can’t find it.
    The login snippet is working fine the when i am logged in and i want to logout there is only the text logout.
    I would like to prefer here the text, Hello you are logged in as huh? click here to logout.

    Ok that’s is no problem the only problem is the huh how can i get there the variable information?
    And the latest login information? where can i find that stuff?

    Thx
    Jeroen
      • 3749
      • 24,544 Posts
      You can put this in a snippet:

      return ($modx->getLoginUserName());
        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