Pagebuilder pages - limit to logged in constituents

Options

Hi, I would like to setup a pagebuilder page to only display for constituents who are logged in.  I know this can be done in the CMS (using folder permissions) but I haven't found a way to do this for pagebuilder pages yet.  Please let me know if you know how to do this.  Thanks,

Andrew

Tagged:

Comments

  • Andrew,

    There are two ways to accomplish this:

    1) Put the page in the Registered Users Only security category.

    2) Add a conditional in the page content to check if the user is logged in. If so, show the page content, otherwise show a message telling the user to log in to view the content.

    Many clients prefer the latter approach. With the former, if a non-logged in user tries to view the page, they will be redirected to page_not_found.

  • Noah Cooper:

    Andrew,

    There are two ways to accomplish this:

    1) Put the page in the Registered Users Only security category.

    2) Add a conditional in the page content to check if the user is logged in. If so, show the page content, otherwise show a message telling the user to log in to view the content.

    Many clients prefer the latter approach. With the former, if a non-logged in user tries to view the page, they will be redirected to page_not_found.

    Thanks, so for the second approach I'm assuming I'd use S Tags - something like:

    ]x::Not Logged In::Logged In]]

  • Andrew MacKay:

    Thanks, so for the second approach I'm assuming I'd use S Tags - something like:

    ]x::Not Logged In::Logged In]]

    You've got it!

Categories