.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ============================== EXT: Questions - Answers (FAQ) ============================== :Author: Christopher :Created: 2010-12-18T19:57:23 :Changed by: Robert :Changed: 2014-11-13T12:56:48.430000000 :Classification: rtgfaq :Keywords: fag, questions, answers :Author: Robert Gonda :Email: robert.gonda@gmail.com :Language: en .. _img-1-img-2-EXT-Questions-Answers-FAQ: |img-1| |img-2| EXT: Questions - Answers (FAQ) ============================================== Extension Key: rtgfaq Language: en Version: 1.4.0 Keywords: fag, questions, answers Copyright 2011-2012, Robert Gonda, 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 ----------------- **`EXT: Questions - Answers (FAQ) 1 <#__RefHeading__5708_1738894311>`_** **`Introduction 3 <#__RefHeading__5710_1738894311>`_** `What does it do? 3 <#__RefHeading__463_413120346>`_ `Screenshots 3 <#__RefHeading__465_413120346>`_ **`Users manual 6 <#__RefHeading__467_413120346>`_** **`Administration 7 <#__RefHeading__31511_818911409>`_** **`Configuration 8 <#__RefHeading__31515_818911409>`_** `Reference 8 <#__RefHeading__1521_290046811>`_ `Page TS config 9 <#__RefHeading__1523_290046811>`_ `These setting use extension hook (processDatamap) which sends e-mail notifications by eID script (because we need HTML template rendering by TSFE). 9 <#__RefHeading__1525_290046811>`_ **`Tutorial 10 <#__RefHeading__31523_818911409>`_** **`Known problems 11 <#__RefHeading__31525_818911409>`_** **`To-Do list 12 <#__RefHeading__477_413120346>`_** **`ChangeLog 13 <#__RefHeading__31623_818911409>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ Simple form allowed to FE users send questions.BE editors answered these questions and publish in FE.Send email notifications. .. _Screenshots: Screenshots ^^^^^^^^^^^ Backend: Questions list |img-3| Backend: Question/answer edit |img-4| Frontend: FAQ list with form |img-5| Frontend: FAQ latest |img-6| Users manual ------------ ... .. _Administration: Administration -------------- ... .. _Configuration: Configuration ------------- .. _Reference: Reference ^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _template: template """""""" .. container:: table-row Property template Data type string Description HTML template path. Default .. _pid: pid """ .. container:: table-row Property pid Data type int Description Page ID for questiong records. Default .. _pidList: pidList """"""" .. container:: table-row Property pidList Data type int Description Page, where is plugin list view is stored. Default .. _cmd: cmd """ .. container:: table-row Property cmd Data type string Description Plugin command: LIST / LATEST Default LIST .. _ignoreGetCmd: ignoreGetCmd """""""""""" .. container:: table-row Property ignoreGetCmd Data type bool Description If is set 1, extension will be ignore commang form GET parameters. Default 0 .. _listOrderBy: listOrderBy """"""""""" .. container:: table-row Property listOrderBy Data type string Description Set sorting of questions on FE. Default crdate DESC .. _listLimit: listLimit """"""""" .. container:: table-row Property listLimit Data type int Description Limitation for questions per page (LIST view). Default 10 .. _latestLimit: latestLimit """"""""""" .. container:: table-row Property latestLimit Data type int Description Limitation for questions per page (LATEST view). Default 2 .. _errorWrap: errorWrap """"""""" .. container:: table-row Property errorWrap Data type wrap Description Error message wrap (in LIST view form). Default .. _listLink: listLink """""""" .. container:: table-row Property listLink Data type typolink Description Link to LIST view. Default .. _feuserUid: feuserUid """"""""" .. container:: table-row Property feuserUid Data type Description Fe users uids list (comma separated). Default .. _fromEmail: fromEmail """"""""" .. container:: table-row Property fromEmail Data type string Description Email notification sender email. Default .. _fromName: fromName """""""" .. container:: table-row Property fromName Data type string Description Email notification sender name. Default .. _adminEmail: adminEmail """""""""" .. container:: table-row Property adminEmail Data type string Description Admin email address (or emails list, comma separated) for email notifications. Default .. _adminName: adminName """"""""" .. container:: table-row Property adminName Data type string Description Admin name for email notifications. Default .. _list-crdate: list.crdate """"""""""" .. container:: table-row Property list.crdate Data type stdWrap Description TS stdWrap setup. Default .. _list-answer: list.answer """"""""""" .. container:: table-row Property list.answer Data type stdWrap Description TS stdWrap setup. Default .. _list-name: list.name """"""""" .. container:: table-row Property list.name Data type stdWrap Description TS stdWrap setup. Default .. _list-user-image: list.user\_image """""""""""""""" .. container:: table-row Property list.user\_image Data type stdWrap Description User (feuserUid) image TS setup rendering. Default .. ###### END~OF~TABLE ###### [plugin.tx\_rtgfaq\_pi1] .. _Example: Example """"""" Default TS setup example: :: plugin.tx_rtgfaq_pi1 { template = EXT:rtgfaq/pi1/template.html pid = pidList = cmd = LIST ignoreGetCmd = 0 listOrderBy = crdate DESC listLimit = 10 latestLimit = 2 errorWrap =

|

listLink { parameter < plugin.tx_rtgfaq_pi1.pidList ATagParams = } feuserUid = fromEmail = noreply@email.com fromName = FAQ test adminEmail = user@email.com, admin@email.com adminName = FAQ test list { answer { wrap = | br = 1 } name { wrap =

|

required = 1 ifEmpty.value = } user_image { path = uploads/tx_srfeuserregister/ file.maxW = 100 file.maxH = 150 params = } } } .. _Page-TS-config: Page TS config ^^^^^^^^^^^^^^ These setting use extension hook (processDatamap) which sends e-mail notifications by eID script (because we need HTML template rendering by TSFE). .. ### BEGIN~OF~TABLE ### .. _baseURL: baseURL """"""" .. container:: table-row Property baseURL Data type string Description Site base URL. Default .. _htaccess-username: htaccess.username """"""""""""""""" .. container:: table-row Property htaccess.username Data type string Description Access authentication username. Default .. _htaccess-password: htaccess.password """"""""""""""""" .. container:: table-row Property htaccess.password Data type string Description Access authentication password. Default .. ###### END~OF~TABLE ###### [pages.tsconfig.tx\_rtgfaq\_hook] .. _Example: Example """"""" :: tx_rtgfaq_hook { baseURL = http://test.domain.com/sitename/ htaccess.username = name htaccess.password = psswd } .. _Tutorial: Tutorial -------- ... .. _Known-problems: Known problems -------------- ... .. _To-Do-list: To-Do list ---------- ... .. _ChangeLog: ChangeLog --------- .. ### BEGIN~OF~TABLE ### .. _1-4-5: 1.4.5 ^^^^^ .. container:: table-row Version 1.4.5 Changes Add email notification sender to TS setup (fromEmail, fromName). .. _1-4-4: 1.4.4 ^^^^^ .. container:: table-row Version 1.4.4 Changes Send email notification to user after form submit. .. _1-4-2: 1.4.2 ^^^^^ .. container:: table-row Version 1.4.2 Changes Replace deprecated method t3lib\_div::GPvar. .. _1-4-1: 1.4.1 ^^^^^ .. container:: table-row Version 1.4.1 Changes Update manual. .. _1-4-0: 1.4.0 ^^^^^ .. container:: table-row Version 1.4.0 Changes Send email notifications after status changes (to admin or fe user).Add name and email inputs to question form.Add header (input field) to BE form. .. _1-3-3: 1.3.3 ^^^^^ .. container:: table-row Version 1.3.3 Changes Initial code generated with kickstarter. .. ###### 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.jpeg .. :align: left .. :border: 0 .. :height: 14% .. :name: Questions list .. :width: 100% .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 66% .. :name: Question/answer edit .. :width: 100% .. |img-5| image:: img-5.jpeg .. :align: left .. :border: 0 .. :height: 432 .. :name: FAQ list with form .. :width: 499 .. |img-6| image:: img-6.jpeg .. :align: left .. :border: 0 .. :height: 387 .. :name: obrázky1 .. :width: 240