Setting up Front End Users module

  Previous article Next article  

Setting up Front End Users module

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.2
  Last updated: 09-09-2016
  Comments: 0

A guide helping you to set up the Front End Users module in CMS Made Simple™ to easily protect the content of your pages and hide the buttons in the navigation for visitors who are not logged in.

To use the Front End Users module you don't need the Custom Content module anymore!
All functionality is built in the FEU module now.


 Login page

This is the page where the visitors can fill in their credentials to get access to the private pages.

Create in the Content Manager a new regular page and add in the content the FEU tag:

{FrontEndUsers}

 Error 403 page

This is the page that is shown when somebody opens a private page and isn't logged in.

Create another page and set the "Page Type" to "Error Page", in the Options tab set "Error Type" to "Page Forbidden (403)". In the page content the FEU tag:

{FrontEndUsers}

You can also choose for redirect not logged in visitors to the regular login page after a few seconds by adding to the "Page Specific Metadata" area in the Logic tab of the page editor.

<meta http-equiv="refresh" content="5;url={root_url}/your-login-page">

Change the '5' for the amount of seconds to wait.
Note: the {process_pagedata} tag needs to be in the top of your Core::Page template to let this work.


 The protected pages

Create new page and set the "Content Type" to "Protected Content". The *content* in these pages are protected by the FEU module and can only been seen by logged in FEU members.


 Logout button in navigation

Create new page and set the "Content Type" to "FEU logout link". The log out button can only been seen by logged in FEU members.


 The protected button separator

Create new page and set the "Content Type" to "Protected Separator". The button separator can only been seen by logged in FEU members.



A2 Webhosting CMS Made Simple

  Comments

  Click here to leave a comment






This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)
  « Enter the CAPTCHA code (lower case)

Your IP address will be stored on submit. I reserve the right to change or delete your response without notice!
In case of abuse your IP address will be blocked!


Can I have your attention for a moment?

Did this tutorial help you solving a problem at your (clients) website and it saved you many hours of work? Great!!
Consider buying Rolf a cup of coffee in return! [ Click here ]


  0 Comments

No comments yet...

CMS Made Simple 2.2.2 - Tutorials, tips and tricks - CMSMS 2.2.2

Setting up Front End Users module

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.2
  Last updated: 09-09-2016
  Comments: 0

A2 Webhosting CMS Made Simple