We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6561
    • 139 Posts
    Hi,

    I want to have a login on a certain page where the user lands on another (unpublished/hidden) page afer logging in. The members will be managed in the Modx Manager’s ’web users’ section so it is not necessary for members to subscribe. My snippet is:

    [!WebLoginPE? &lang=`en` &regType=`verify` &liHomeId=`32`!]

    However I get the following text instead of being redirected to the page with ID 32.
    "You have logged into My MODx Site times now.

    Your last login was"


    Also, I notice that if you type the address of the page, people can still go there - is it possible to secure so that they can only see it if logged in?

      • 1169
      • 312 Posts
      I think "verfy" is not meant to take you to a given page as it sends a password to your supplied email so you should only be able to login after receiving email. Your next login shouled take you to ’&liHomeId’.

      You must secure you ’&liHomeId’ page using permissions see http://bobsguides.com/permissions.html
        DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31