ListFaqFolder
Votes: 12
Tags: Navigation, snippet, faq, help
Submitted: Jul 18, 2006
Released: Jul 18, 2006
Downloads: 1530
License: Other
ListFaqFolder 0.2 Beta
Works with the following Version(s):
First draft of an FAQ engine using documents.
Download
- repo-773.txt (1530 downloads)
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.

Please login to comment.