Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
services:pvw:conf:faqs [2015/03/16 12:42] r2d2 [Definition] |
services:pvw:conf:faqs [2015/03/16 12:45] r2d2 [Sections] |
||
---|---|---|---|
Line 36: | Line 36: | ||
===== Sections ===== | ===== Sections ===== | ||
Sections are completely optionnals, but are usefull to separate your FAQs in differents sections, especially if you have many FAQS. | Sections are completely optionnals, but are usefull to separate your FAQs in differents sections, especially if you have many FAQS. | ||
+ | //If you dont want to use sections, simply put all your faqs in the same section, ie 'general' and no sections will be displayed.// | ||
- | Each section index used in FAQs definitions must be names using the following syntax: | + | Each section index used in FAQs definitions must be named using the following syntax: |
- | + | <code php> | |
- | $faqs_sections_names['**SECTION**'] ="**NAME**";\\ | + | $faqs_sections_names['SECTION'] ="NAME"; |
+ | </code> | ||
- | Where: | + | Where : |
* **SECTION** is the section inde used in FAQs definitions | * **SECTION** is the section inde used in FAQs definitions | ||
- | * **INDEX** is an unique index for this section question/answer pair (can be a number or a string) | ||
* **NAME** is the title that will be used for each Section | * **NAME** is the title that will be used for each Section | ||
Line 52: | Line 53: | ||
</code> | </code> | ||
- | //BTW, If you dont want to use sections, simply put all your faqs in the same section, ie 'general' and no sections will be displayed.// | + | |