How To... Deploy an Extranet

With Pepperio you can password protect pages of your site to create either an Intranet or Extranet

With Pepperio you can create password protected pages , providing your site with extranet/internet options. The process involves marking pages as being 'extranet', and setting up the login mechanism which is a javascript based snippet found in the 'extranet' folder.

1. Create a new Extranet page or directory

An Intranet or Extranet can be only one page, or a full branch of a site. Mark these pages as private, and only accessible by logging in, by clicking on the Page Access icon and selecting the 'Extranet' radio button.

2. Set Up the Extranet group

In the People Section create an new group, add users to it, and in the properties of the group, add your Extranet gateway page to the 'Base Page url' field.

3. Connect the Logonhandler Snippet

Use a component on the layout, at the position on the page you want the form to appear, to reference the suppied 'Logonhandler' snippet.This snippet contains javascript, and the script itself contains, and renders the username and password form depending on the value of certain variables. If you are confident editing the javascript, the html that constructs the gateway is easy to find and can be changed to suit your own needs.

4. Make the Extranet CSS accessible

The extranet folder that contains the Logonhandler snippet also contains a style - extranet css. This css code needs to be accesible by the current style, so there are two options; use an import command at the top of that css ensuring that you refer to the correct directory in the path, or copy all of the code and paste it into your main style.

See Also:

Video Guides

How To...

Tag Definitions