diff --git a/core/data/System/FrequentlyAskedQuestions.txt b/core/data/System/FrequentlyAskedQuestions.txt index ecc2cadf08..846059ff00 100644 --- a/core/data/System/FrequentlyAskedQuestions.txt +++ b/core/data/System/FrequentlyAskedQuestions.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1280633305" format="1.1" version="$Rev$"}% +%META:TOPICINFO{author="ProjectContributor" comment="save topic" date="1281421776" format="1.1" reprev="4" version="4"}% %META:TOPICPARENT{name="UsersGuide"}% ---+ Frequently Asked Questions @@ -22,92 +22,63 @@ This is a real FAQ, and also a demo of an easily implemented knowledge-base solu --- %ENDTWISTY% +---++ List of FAQs +%TWISTY{link="%BUTTON{"%MAKETEXT{"Create new FAQ topic"}%" icon="add" class="simple"}%%CLEAR%" mode="div"}% + +%INCLUDE{"%TOPIC%" section="creator"}% +%ENDTWISTY% + %SEARCH{ "form.name~'*BasicForm' AND TopicClassification='FrequentlyAskedQuestion'" type="query" nonoise="on" web="%SYSTEMWEB%,%USERSWEB%" - header="$n()---++ Results from [[$web.WebHome][$web]] web" format=" * $formfield(TopicSummary) [[$web.$topic][Answer]]" - footer="$ntopics FAQs found$n" + header="$n$n$ntopics FAQs found in [[$web.WebHome][$web]] web$n$n" }% ---++ More FAQs
%X% These topics are for frequently asked questions *including* answers; please ask support questions in the Foswiki:Support web.
-%INCLUDE{"%TOPIC%" section="creator"}% - #CreatorCode %TWISTY{showlink="Show topic creator code..."}%%JQREQUIRE{"chili"}% -%STARTSECTION{"creator"}%%JQREQUIRE{"wikiword"}% -
-New FAQ topic (based on FAQTemplate) -| %MAKETEXT{"FAQ"}% | | -| %MAKETEXT{"Title"}% | | -| | | - - - - - - - - + +%STARTSECTION{"creator"}% + + + + + + + + + +
+
+

Create a new FAQ topic

+
+
+

%MAKETEXT{"Title"}%:

+ +
+ Give this FAQ a descriptive title, e.g. "Explanation of ..." +
+
+
+

%MAKETEXT{"Question"}%:

+ +
+ Summarize your question in a few simple words, e.g. "I did this ..., how do I ..." +
+
+
+ %BUTTON{"%MAKETEXT{"Submit"}%" icon="tick" type="submit"}% + %CLEAR% +
+
-%JQREQUIRE{"wikiword"}%%ADDTOZONE{ - "body" - id="%WEB%/%TOPIC%::FAQCreator" - requires="JQUERYPLUGIN::WIKIWORD" - text=" -" -}%%ENDSECTION{"creator"}% +%JQREQUIRE{"wikiword"}% +%ENDSECTION{"creator"}%
%ENDTWISTY%