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.
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 |
EXT: Questions - Answers (FAQ)¶
Extension Key: rtgfaq
Language: en
Version: 1.4.0
Keywords: fag, questions, answers
Copyright 2011-2012, Robert Gonda, <robert.gonda@gmail.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¶
`EXT: Questions - Answers (FAQ) 1 <#__RefHeading__5708_1738894311>`_
`Introduction 3 <#__RefHeading__5710_1738894311>`_
`Users manual 6 <#__RefHeading__467_413120346>`_
`Administration 7 <#__RefHeading__31511_818911409>`_
`Configuration 8 <#__RefHeading__31515_818911409>`_
`Tutorial 10 <#__RefHeading__31523_818911409>`_
`Known problems 11 <#__RefHeading__31525_818911409>`_
`To-Do list 12 <#__RefHeading__477_413120346>`_
`ChangeLog 13 <#__RefHeading__31623_818911409>`_
Introduction¶
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¶
Backend: Questions list
Backend: Question/answer edit
Frontend: FAQ list with form
Frontend: FAQ latest
Users manual ------------
...
Administration¶
...
Configuration¶
Reference¶
template¶
Property
template
Data type
string
Description
HTML template path.
Default
pid¶
Property
pid
Data type
int
Description
Page ID for questiong records.
Default
pidList¶
Property
pidList
Data type
int
Description
Page, where is plugin list view is stored.
Default
cmd¶
Property
cmd
Data type
string
Description
Plugin command: LIST / LATEST
Default
LIST
ignoreGetCmd¶
Property
ignoreGetCmd
Data type
bool
Description
If is set 1, extension will be ignore commang form GET parameters.
Default
0
listOrderBy¶
Property
listOrderBy
Data type
string
Description
Set sorting of questions on FE.
Default
crdate DESC
listLimit¶
Property
listLimit
Data type
int
Description
Limitation for questions per page (LIST view).
Default
10
latestLimit¶
Property
latestLimit
Data type
int
Description
Limitation for questions per page (LATEST view).
Default
2
errorWrap¶
Property
errorWrap
Data type
wrap
Description
Error message wrap (in LIST view form).
Default
listLink¶
Property
listLink
Data type
typolink
Description
Link to LIST view.
Default
feuserUid¶
Property
feuserUid
Data type
Description
Fe users uids list (comma separated).
Default
fromEmail¶
Property
fromEmail
Data type
string
Description
Email notification sender email.
Default
fromName¶
Property
fromName
Data type
string
Description
Email notification sender name.
Default
adminEmail¶
Property
adminEmail
Data type
string
Description
Admin email address (or emails list, comma separated) for email notifications.
Default
adminName¶
Property
adminName
Data type
string
Description
Admin name for email notifications.
Default
list.crdate¶
Property
list.crdate
Data type
stdWrap
Description
TS stdWrap setup.
Default
list.answer¶
Property
list.answer
Data type
stdWrap
Description
TS stdWrap setup.
Default
list.name¶
Property
list.name
Data type
stdWrap
Description
TS stdWrap setup.
Default
list.user_image¶
Property
list.user_image
Data type
stdWrap
Description
User (feuserUid) image TS setup rendering.
Default
[plugin.tx_rtgfaq_pi1]
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 = <p class="error">|</p>
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 = <p><em>|</em></p>
required = 1
ifEmpty.value =
}
user_image {
path = uploads/tx_srfeuserregister/
file.maxW = 100
file.maxH = 150
params =
}
}
}
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).
baseURL¶
Property
baseURL
Data type
string
Description
Site base URL.
Default
htaccess.username¶
Property
htaccess.username
Data type
string
Description
Access authentication username.
Default
htaccess.password¶
Property
htaccess.password
Data type
string
Description
Access authentication password.
Default
[pages.tsconfig.tx_rtgfaq_hook]
Example¶
tx_rtgfaq_hook {
baseURL = http://test.domain.com/sitename/
htaccess.username = name
htaccess.password = psswd
}
Tutorial¶
...
Known problems¶
...
To-Do list¶
...
ChangeLog¶
1.4.5¶
Version
1.4.5
Changes
Add email notification sender to TS setup (fromEmail, fromName).
1.4.4¶
Version
1.4.4
Changes
Send email notification to user after form submit.
1.4.2¶
Version
1.4.2
Changes
Replace deprecated method t3lib_div::GPvar.
1.4.1¶
Version
1.4.1
Changes
Update manual.
1.4.0¶
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¶
Version
1.3.3
Changes
Initial code generated with kickstarter.