.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================= EXT: mailformplus ================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Kurt Kunig :Changed: 2007-06-08T13:03:12 :Author: Peter Luser :Email: netdog@typoheads.com :Info 3: :Info 4: **EXT: FE extends mailformplus listview** Version 0.0.2 Extension Key: **kk\_mailformpluslist** Copyright 2007, Kurt Kunig, 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.com .. _generated: ((generated)) ============= .. _Table-of-Contents: Table of Contents ----------------- **`Introduction 1 <#0.1.Introduction|outline>`_** `What does it do? 1 <#0.1.1.What%20does%20it%20do_|outline>`_ `Screenshots 2 <#0.1.3.Screenshots|outline>`_ **`Users manual 4 <#0.2.Users%20manual|outline>`_** **`Administration 4 <#0.3.Administration|outline>`_** `FAQ 4 <#0.3.1.FAQ|outline>`_ **`Configuration and usage of kk\_mailformpluslist 4 <#0.4.Configurati on%20and%20usage%20of%20kk_mailformpluslist|outline>`_** `Typoscript support or maintenance: 5 <#0.4.1.Typoscript%20support%20or%20maintenance:|outline>`_ `the HTML form: subtemplates for emails and errormessages 5 <#0.4.2.th e%20HTML%20form:%20subtemplates%20for%20emails%20and%20errormessages%2 0|outline>`_ `Known problems 6 <#0.4.3.Known%20problems|outline>`_ **`Change-Log: 7 <#0.5.Change-Log:|outline>`_** `New in version 0.0.1 7 <#0.5.1.New%20in%20version%200.0.1%20|outline>`_ .. _Introduction: Introduction ------------ First of all: **Many thanks to all the gentle colleagues in the net who supported me!** .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension should be installed on top of the th\_mailformplus- extension for a FE-view of the transmitted messages based on mailformplus forms. - Displays a number of messages (parameter in the mailfomplus object = new mailformplus-DB field) in a FE table as a list view. - Inserts a link to a new dedicated page (parameter in the mailfomplus object = new mailformplus-DB field) for displaying the complete content of the chosen message (UID). Therefore you have to tell the “list-page” the PID of the page where the plugin th\_mailformplus is in. This can be done by a seperate plugin-property called “sourcePagePID”. - You've the possibility to tell the plugin the content of a special marker (###LINK2SHOW###) where the link to the single display will be in (e.g. In the last column of the list table of the design template for the (mail)form. You can put in something like this: “” or a simple letter like “O” (that's also the default if the property is missing).The property for this is: “linkVars = ...” .. _Screenshots: Screenshots ^^^^^^^^^^^ Backend module: |img-1| Sorry for the German description. maximum number of records to be shown in the list, zero (0) means: without limits. Pid of that page that contains the plugin with the single view object. |img-2| This is a part of the page content, where the list should be displayed. Link to the mailformplus data for the above mentioned two additional parameters. |img-3| You Should also include the mailformplus-example-template or your own one where the subparts and markers are defined for the two different display forms “list” and “single”: “plugin.tx\_kkmailformpluslist\_pi1.template = fileadmin/templates/mfplus\_contact\_form01.html” Here is an example screenshot of the frontend result: |img-4| and a single view: |img-5| .. _Users-manual: Users manual ------------ .. _Administration: Administration -------------- see configuration .. _FAQ: FAQ ^^^ \- none .. _Configuration-and-usage-of-kk-mailformpluslist: Configuration and usage of kk\_mailformpluslist ----------------------------------------------- - - Install the module with the Extension manager. - Create page and insert a “plugin” element on the page where the “list”-form should be shown –pluginname: “Mailformplus List” with the type of display “LIST”. - Create (sub-)page and insert a “plugin” element on the page where the “single”-form should be shown –pluginname: “Mailformplus List” with the type of display “SINGLE” (remember the Id). - Put in the two data into the mailformplus element (sysFolder!?): Max number of records to be shown and the PID of the page for the single view. - Include the new plugin in the template and also include the HTML- document for the Subparts and markers.“plugin.tx\_kkmailformpluslist\_pi1.template = fileadmin/templates/mfplus\_contact\_form01.html” - This will be the content of the marker ###LINK2SHOW###:plugin.tx\_kkmailformpluslist\_pi1.linkVars = lupe###LINK2SHOW### = “lupe” e.g. .. _Typoscript-support-or-maintenance: Typoscript support or maintenance: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ plugin.tx\_kkmailformpluslist\_pi1. .. ### BEGIN~OF~TABLE ### .. _template: template """""""" .. container:: table-row a template b Path to the HTML template with the markers in (perhaps the same path resp. the same document like that one for th\_mailformplus!?) e.g. = fileadmin/templates/mailformplus\_contact.html .. _linkVars: linkVars """""""" .. container:: table-row a linkVars b The content of this variable will be written into the marker ###LINK2SHOW### e.g. look into the example below. .. _sourcePagePID-optional: sourcePagePID (optional) """""""""""""""""""""""" .. container:: table-row a sourcePagePID (optional) b Because of possible different mailfomplus-forms and -pages and their possible different number of Markers (###value\_name### etc.) you have to tell the extension what messages should be displayed in the page that belongs to this ext. Template (the template that corresponds to the page where you want to show the list) e.g. = 43 Shows only messages sent with THAT page! Without this property all mails will be listed, doesn't matter if there is the same mailformplus-Design is used. .. ###### END~OF~TABLE ###### .. _generated: ((generated)) """"""""""""" .. _Example: Example: ~~~~~~~~ plugin.tx\_kkmailformpluslist\_pi1 { template = fileadmin/templates/mailformplus\_contact\_Kunig.html linkVars = lupe sourcePagePID = 43 } .. _the-HTML-form-subtemplates-for-emails-and-errormessages: the HTML form: subtemplates for emails and errormessages ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You can (have to) specify a “HTML-Template with formular fields in it”. This is a “normal” static HTML document including the formular fields. You know this from the extension th\_mailformplus itself! There are some additonal subparts to be definded: .. _generated: ((generated)) """"""""""""" .. _Example: Example: ~~~~~~~~ :: ... This is a part (end) of the mailformplus-template: The following errors occured: