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.
Recommend page¶
Author: | Christopher |
---|---|
Created: | 2010-12-18T19:57:23 |
Changed: | 2014-11-12T14:32:38.808000000 |
Classification: | pb_recommend_page |
Keywords: | recommend page, tip a friend |
Author: | Peter Benke |
Email: | peter.benke@nttdata.com |
Language: | en |
Recommend page¶
Extension Key: pb_recommend_page
Language: en
Version: 2.0.3
Keywords: recommend page, tip a friend
Copyright 2012-2014, Peter Benke, <peter.benke@nttdata.com>
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¶
`Recommend page 1 <#__RefHeading__5708_1738894311>`_
`Introduction 3 <#__RefHeading__5710_1738894311>`_
`Users manual 4 <#__RefHeading__467_413120346>`_
`Administration 5 <#__RefHeading__31511_818911409>`_
`Configuration 6 <#__RefHeading__31515_818911409>`_
`Known problems 7 <#__RefHeading__31525_818911409>`_
`ChangeLog 8 <#__RefHeading__31623_818911409>`_
Introduction¶
What does it do?¶
This extension has a frontend-plugin, which generates a form to send a link to a friend.
Screenshots¶
Users manual¶
Go to the page, where you want to display the form and create a new content-element => plugin “Recommend page”. Go to the typoscript- section to see how to create the link to this page.
FAQ¶
Q: Is there any Spam-protection? A: Yes. This extension provides the follwing spam-protections:
- Protection against mail-header-injection
- If the form is filled within 5 seconds, the form will not be sent
- There is an input-field with a checksum, which is not displayed. The form only will be sent, if the field is empty or filled with the right value.
- There is a hidden input-field. If this field is filled, the form will not be sent
Administration¶
Installation¶
- Download the extension and install it with the extension manager.
- Edit your template-record and include static template from extension “Recommend page (pb_recommend_page)”
- Go to the Constant-Editor, choose “PLUGIN.PB_RECOMMEND_PAGE”
- Input the uid of the page with the plugin and the linktext fpr the link, for example “recommend page”. For multilanguage website, you can change this value by typoscript.
Configuration¶
Reference¶
recommendpage.pid¶
Property
recommendpage.pid
Data type
int
Description
Uid of the Recommend Page
Default
templateFile¶
Property
templateFile
Data type
string
Description
Template for the form.
Default
EXT:pb_recommend_page/res/templates/pb_recommend_template.html
cssFile¶
Property
cssFile
Data type
string
Description
Stylesheet
Default
EXT:pb_recommend_page/res/css/pb_recommend_page.css
linkToForm¶
Property
linkToForm
Data type
TEXT
Description
Link to the page with the form
Default
[tsref:plugin.tx_pbrecommendpage_pi1]
Example¶
plugin.tx_pbrecommendpage_pi1{
linkToForm = TEXT
linkToForm.value = Seite weiterempfehlen
linkToForm {
typolink {
parameter = {$plugin.tx_pbrecommendpage_pi1.recommendpage.uid}
ATagParams = rel="nofollow"
additionalParams.cObject = COA
additionalParams.cObject {
10 = COA
10 {
10 = TEXT
10.typolink {
parameter = {page:uid}
parameter.insertData = 1
addQueryString = 1
addQueryString {
exclude = id, cHash
}
returnLast = url
}
stdWrap.rawUrlEncode = 1
}
wrap = &tx_pbrecommendpage_pi1[url]={getIndpEnv:TYPO3_SITE_URL}|
wrap.insertData = 1
}
}
}
}
# For example your menu-typoscript:
10 < plugin.tx_pbrecommendpage_pi1.linkToForm
Known problems¶
None at the moment.