ListFaqFolder
ListFaqFolder 0.2 Beta
Works with MODx Version(s): All
Submitted: Jul 18th 2006 | License: None Specified | Downloads: 1396
Submitted: Jul 18th 2006 | License: None Specified | Downloads: 1396
First draft of an FAQ engine using documents.
This is the first draft of a FAQ engine. I'm sure it is possible to do better. Your comments are welcome.
You can see it in action in this FAQ draft
Features:
On each categories and sub-categories you have an uplink to the parent category. You are not limited on sublevel.
Create a document for your FAQ section with the simple snippet call in the contents:
[[ListFaqFolder]]
The snippet code itself defines the FAQ root document ID:
This must be changed to the ID of your new FAQ folder.
You must create each Question and Answer as a child document of the parent folder. You can have nested FAQs by having folders within folders. There is no limit.
Each document contains the answer and the question:
['introtext'] is the question (because when you have a long question the title is too short)
['content'] is the answer.
Description
Orginally posted January 2006.This is the first draft of a FAQ engine. I'm sure it is possible to do better. Your comments are welcome.
You can see it in action in this FAQ draft
Features:
- Multilevel
- Internationalization (7 variables to translate at the begining of the snippet)
On each categories and sub-categories you have an uplink to the parent category. You are not limited on sublevel.
Instructions
Install the snippet.Create a document for your FAQ section with the simple snippet call in the contents:
[[ListFaqFolder]]
The snippet code itself defines the FAQ root document ID:
$faqroot = '5';
This must be changed to the ID of your new FAQ folder.
You must create each Question and Answer as a child document of the parent folder. You can have nested FAQs by having folders within folders. There is no limit.
Each document contains the answer and the question:
['introtext'] is the question (because when you have a long question the title is too short)
['content'] is the answer.
Previous Releases
Extras
No results found.