FAQ with ask form

faqwithaskform

  • By fabricasaitov
  • Latest release January 23, 2012 (14 years ago)

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?&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

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

Releases 1 indexed release

Changelog
MODX.com

1.0-beta1

January 23, 2012

14 years ago

—