DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: eng_password

Created:2010-02-18T17:33:18
Changed:2011-07-28T19:39:24.820000000
Classification:eng_password
Keywords:password, protection, pages
Author:Stephan Helten
Email:Stephan.Helten@engage.de
Info 4:
Language:en

img-1 img-2 EXT: eng_password - eng_password

EXT: eng_password

Extension Key: eng_password

Language: en

Keywords: password, protection, pages

Copyright 2000-2011, Stephan Helten, <Stephan.Helten@engage.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: eng_password 1

`Introduction 3 <#__RefHeading__1143_1304891489>`_

What does it do? 3

Screenshots 3

`Users manual 5 <#__RefHeading__1149_1304891489>`_

Step 1 – Create Pages 5

Step 2 – Configure Login Page 5

Step 3 – Configure Protected Page 6

Step 4 – Adapt typoscript and templates 6

Step 5 – Test 6

Step 6 – Unhide Protected Page 6

`ChangeLog 7 <#__RefHeading__1163_1304891489>`_

Introduction

What does it do?

Protects as many pages as you want by password forms.

Screenshots

img-3

img-4

img-5 img-6

Users manual

Step 1 – Create Pages

Create the page you want to protect and configure it to be hidden, so that nobody can see it during the creation.

Create a subpage under the protected page, name it “login” and configure it to be hidden in menus.

img-4

Step 2 – Configure Login Page

Add the “login to password protected page” plugin to the “login”-page. This plugin will show the password login form.

Configure it by linking “password protected target page” to the “protected”-page and entering a password to the password field.

img-5

Step 3 – Configure Protected Page

Add the “password protected page”-plugin to the “protected”-page.

Link the field “login page” to the “login”-page.

img-6

Step 4 – Adapt typoscript and templates

Copy the file “/typo3conf/ext/eng_password/template/login.html” to your fileadmin folder.

This file is the template file of the login form. The template engine fluid is used to render the template.

You have to configure your typoscript to find this file:

plugin.tx_engpassword_pi2 {
    templateFile = fileadmin/project/templates/extensions/eng_password/login.html
}

You can adapt this template file by your needs.

Step 5 – Test

When you call your protected page in the browser you should automatically be redirected to the login page.

When you enter the right password you should be redirected from the login page to the protected page and see the secret content.

Step 6 – Unhide Protected Page

When tests are finished you should configure your protected page to be visible for all.

ChangeLog

0.1.0

Version

0.1.0

Changes

Initial commit

img-2 8