FAQ with ask form
faqwithaskform
About
Snippet FaqHook create subresource with question in introtext and answer in content.
Can use premoderate mode or postmoderate.
Also can used for billboard, responses, guestbook.
Installation & usage
1) Create container resource "FAQ page" with content[[$FaqForm]]<div id="faq">[[!getPage?&elementClass=`modSnippet`&element=`getResources`&parents=`[[*id]]`&limit=`20`&pageVarKey=`page`&includeTVs=`1`&processTVs=`1`&includeContent=`1`&tpl=`FaqTpl`&hideContainers =`1`&depth=`0`&sortby=`menuindex`&sortdir=`ASC` ]]</div><p>[[!+page.nav]]</p>Where: [[$FaqForm]] - form chunk, limit=`20` - questions on page, tpl=`FaqTpl` - template for question block2) Modify snippet FaqHook'parent' => 53, //id for parent resourse (FAQ page id)'published' => 0, //0 - premoderate mode, 1 - autopublish3) Modify chunks FaqForm and FaqTplFaqForm - ask formFaqTpl - block for published questions
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer fabricasaitov
- Latest release January 23, 2012 (14 years ago)
- First seen in SiteDash January 19, 2012 (14 years ago)
- License GPLv2
- MODX support 2.1 – 2.1
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0-beta1 |
January 23, 2012
14 years ago |
— |
|
No matching releases. |
|||