• MODX.com

    1,773 downloads

FAQ with ask form

FAQ with ask form is an extra by fabricasaitov, first released on 2012-01-19.

Package Description

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.

Usage/Installation Instructions

1) Create container resource "FAQ page" with content[[$FaqForm]]<div id="faq">[[!getPage?&amp;elementClass=`modSnippet`&amp;element=`getResources`&amp;parents=`[[*id]]`&amp;limit=`20`&amp;pageVarKey=`page`&amp;includeTVs=`1`&amp;processTVs=`1`&amp;includeContent=`1`&amp;tpl=`FaqTpl`&amp;hideContainers =`1`&amp;depth=`0`&amp;sortby=`menuindex`&amp;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

Details

Developer(s)
fabricasaitov
Released
2012-01-23
First seen
2012-01-19
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.1

FAQ with ask form Releases

Vendor Signature Released on
MODX.com 1.0-beta1 2012-01-23 (12 years ago)