Requirements: This extension depends on the following extension: dynaflex
Install the extension using Ext Manager.
On a SITE include Pure (pure) and Pure css (pure) – The last one of these two is optional. This is done by going to Template → A page → Edit the whole template record → Includes → Choose Pure (pure) and Pure css (pure) under Include static (from extensions).
Setup a master page for the extension (see section “How to setup the MASTER PAGE”).
To get the extension to work on a website a page that is going the be the master page for the extension must be configured.
This is done like this:
Create a new page in TYPO3.
Insert the extension on this page (Create new element → Choose PURE under Plugins).
Write down the PID (Page ID) of the configured page.
The plugin on this page in the back-end will say it is not configured. Just ignore this.
The extension on the website now need to know which page you did make as the master page. This is done by setting the constant plugin.tx_pure_pi.singlePid to the PID from step 3. This can also be done in the TYPO3 back-end like this:
When the extension is up and running the configured master page will function as a gateway to display information about persons, publications and activities. If the MASTER PAGE was named persons in the root, then information from PURE can be accessed directly by this page. For example it possibly to show a person by ID/e-mail by entering the following URL:
http://www.example.com/persons/?tx_pure_pi[personId]=ID
Ex.: http://cs.au.dk/persons/?tx_pure_pi[personId]=email@cs.au.dk
The URL can be more beautiful by using something like the realurl extension. By using for example the following configuration for this extension:
'postVarSets' => array(
'_DEFAULT' => array(
'act' => array(
array(
'GETvar' => 'tx_pure_pi[actId]',
),
),
'person' => array(
array(
'GETvar' => 'tx_pure_pi[personId]',
),
),
'org' => array(
array(
'GETvar' => 'tx_pure_pi[orgId]',
),
),
'showtype'=> array(
array(
'GETvar' => 'tx_pure_pi[showType]',
),
),
'pub' => array(
array(
'GETvar' => 'tx_pure_pi[pubId]',
),
),
),
);
The URL from before will then be: http://www.example.com/persons/person/ID
Ex.: http://cs.au.dk/persons/person/email@cs.au.dk/
To get a dynamic title on the master page (e.g., a name as title, when viewing a person), please to the following:
Click the tab named Template in the right side and choose the master page.
Choose Info/Modify in the drop-down menu.
Click on Edit the whole template record. (Click the button Click here to create an extension template, if there is now template on the page yet)
Insert the following code inside the text area for Setup:
includeLibs.pagetitle = EXT:pure/class.tx_pure_pagetitle.php
config.titleTagFunction = tx_pure_pagetitle->changetitle
lib.pageTitle = USER
lib.pageTitle {userFunc = tx_pure_pagetitle->changetitle
}

