FAQ development
Screen shots to be added.
1. Creating an FAQ in Cascade - Code provided by Erik Olsson .
2. In Administration, set up a Data Definition
a. Select a New Container and name it; e.g. Facilities
b. Select New Data Definition and name it " faq " . Place it in Facilities ( Parent Container)
c. Go to Edit > XML tab and paste in Eric's code which is shown here:
<system-data-structure>
<text identifier="title" label="Section Title" required="true"/>
<text identifier="summary" label="Summary" multi-line="true" wysiwyg-toolbar-remove="font assignment, insert image, insert table" wysiwyg="true" required="false" rows="2"/>
<group multiple="true" identifier="question" label="Question & Answer" >
<text identifier="question" label="Question" required="false"/>
<text identifier="answer" label="Answer" multi-line="true" wysiwyg="true" required="false" rows="5"/>
</group>
</system-data-structure>
3. In Administration, create a Target
a. Select New Target and name " faq_xml
b. Place in Parent Target folder
4. Create a Template for the FAQ
a. Select the desired Template (for example, " _3col " ) and copy.
b. Name the new template " _faq_xml " .
5. Each FAQ block has its own folder. There you have a page using the Data Definition (#2 above) and an index block indexing only this page.