.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ============== 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 .. _img-1-img-2-Recommend-page: |img-1| |img-2| Recommend page ============================== Extension Key: pb\_recommend\_page Language: en Version: 2.0.3 Keywords: recommend page, tip a friend Copyright 2012-2014, Peter Benke, 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: Table of Contents ----------------- **`Recommend page 1 <#__RefHeading__5708_1738894311>`_** **`Introduction 3 <#__RefHeading__5710_1738894311>`_** `What does it do? 3 <#__RefHeading__463_413120346>`_ `Screenshots 3 <#__RefHeading__465_413120346>`_ **`Users manual 4 <#__RefHeading__467_413120346>`_** `FAQ 4 <#__RefHeading__2575_1627706002>`_ **`Administration 5 <#__RefHeading__31511_818911409>`_** `Installation 5 <#__RefHeading__1962_1627706002>`_ **`Configuration 6 <#__RefHeading__31515_818911409>`_** `Reference 6 <#__RefHeading__31519_818911409>`_ **`Known problems 7 <#__RefHeading__31525_818911409>`_** **`ChangeLog 8 <#__RefHeading__31623_818911409>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension has a frontend-plugin, which generates a form to send a link to a friend. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-3| .. _Users-manual: 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: 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: Administration -------------- .. _Installation: 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: Configuration ------------- .. _Reference: Reference ^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _recommendpage-pid: recommendpage.pid """"""""""""""""" .. container:: table-row Property recommendpage.pid Data type int Description Uid of the Recommend Page Default .. _templateFile: templateFile """""""""""" .. container:: table-row Property templateFile Data type string Description Template for the form. Default EXT:pb\_recommend\_page/res/templates/pb\_recommend\_template.html .. _cssFile: cssFile """"""" .. container:: table-row Property cssFile Data type string Description Stylesheet Default EXT:pb\_recommend\_page/res/css/pb\_recommend\_page.css .. _linkToForm: linkToForm """""""""" .. container:: table-row Property linkToForm Data type TEXT Description Link to the page with the form Default .. ###### END~OF~TABLE ###### [tsref:plugin.tx\_pbrecommendpage\_pi1] .. _Example: 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: Known problems -------------- None at the moment. .. _ChangeLog: ChangeLog --------- .. ### BEGIN~OF~TABLE ### .. _2-0-0: 2.0.0 ^^^^^ .. container:: table-row Version 2.0.0 Changes Init public version .. _2-0-1: 2.0.1 ^^^^^ .. container:: table-row Version 2.0.1 Changes Update documentation .. _2-0-3: 2.0.3 ^^^^^ .. container:: table-row Version 2.0.3 Changes Tested on TYPO3 6.2 (no changes) .. ###### END~OF~TABLE ###### .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 44 .. :id: graphics5 .. :name: graphics5 .. :vspace: 57 .. :width: 161 .. |img-2| image:: img-2.png .. :align: left .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 360 .. :id: Grafik1 .. :name: Grafik1 .. :width: 502