Changeset 8427
- Timestamp:
- 08/06/10 12:34:29 (22 months ago)
- Location:
- trunk/core/data/System
- Files:
-
- 3 edited
-
BasicForm.txt (modified) (1 diff)
-
FrequentlyAskedQuestions.txt (modified) (4 diffs)
-
VarSEARCH.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/BasicForm.txt
r8415 r8427 5 5 | Topic Summary | text | 80 | | Short summary of feature/bug/idea | | 6 6 | Interested Parties | text | 80 | | Use for tracking and show key interested people | | 7 | Related Topics | textboxlist | 80 | %SCRIPTURL{"view"}%/%WEB%/%TOPIC%?contenttype=text/plain;skin=text;section=topics| Please add links to related topics | |7 | Related Topics | textboxlist | 40 | %SCRIPTURL{"view"}%/%WEB%/%TOPIC%?contenttype=text/plain;skin=text;section=topics;qcallingweb=%BASEWEB% | Please add links to related topics | | 8 8 9 9 %JQREQUIRE{"chili"}%<verbatim class="tml"> 10 10 %STARTSECTION{"topics"}%<noautolink>%SEARCH{ 11 11 "lc(name)=~lc('.*%URLPARAM{"q"}%.*')" 12 web="%SYSTEMWEB%,%USERSWEB%" 12 13 type="query" 13 14 nonoise="on" 14 format="$ topic"15 format="$web.$topic" 15 16 }%</noautolink>%ENDSECTION{"topics"}%</verbatim> -
trunk/core/data/System/FrequentlyAskedQuestions.txt
r8415 r8427 3 3 ---+ Frequently Asked Questions 4 4 5 This is a real FAQ, and also a demo of an easily implemented knowledge-base solution. You may view the code for the <a class="twistyExpandAll" href="#CreatorCode">topic creator</a> or [[%SCRIPTURL {"view"}%/%WEB%/%TOPIC%?raw=on][raw text of the whole topic]] to see how it was done.5 This is a real FAQ, and also a demo of an easily implemented knowledge-base solution. You may view the code for the <a class="twistyExpandAll" href="#CreatorCode">topic creator</a> or [[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?raw=on][raw text of the whole topic]] to see how it was done. 6 6 %TWISTY{showlink="Summary of the pieces used..."}% 7 7 * [[FAQTemplate]] is used to populate new FAQ topics with their default content … … 24 24 25 25 %SEARCH{ 26 "form.name='BasicForm' AND TopicClassification='FrequentlyAskedQuestion'" 27 type="query" 28 nonoise="on" 29 format=" * $formfield(TopicSummary) [[$topic][Answer]]" 30 footer="$ntopics FAQs found" 26 "form.name~'*BasicForm' AND TopicClassification='FrequentlyAskedQuestion'" 27 type="query" 28 nonoise="on" 29 web="%SYSTEMWEB%,%USERSWEB%" 30 header="$n()---++ Results from [[$web.WebHome][$web]] web" 31 format=" * $formfield(TopicSummary) [[$web.$topic][Answer]]" 32 footer="$ntopics FAQs found$n" 31 33 }% 32 34 … … 39 41 %TWISTY{showlink="Show topic creator code..."}%%JQREQUIRE{"chili"}% 40 42 <verbatim class="tml">%STARTSECTION{"creator"}%%JQREQUIRE{"wikiword"}% 41 <form action="%SCRIPTURL {"edit"}%/%WEB%/" method="post" id='newfaqform'>43 <form action="%SCRIPTURLPATH{"edit"}%/%USERSWEB%/" method="post" id='newfaqform'> 42 44 New FAQ topic (based on FAQTemplate) 43 45 | %MAKETEXT{"FAQ"}% | <input type="text" id="faqsummary" name="TopicSummary"\ … … 49 51 50 52 <input type="hidden" name="onlywikiname" value="on" /> 51 <input type="hidden" name="templatetopic" value=" FAQTemplate" />52 <input type="hidden" name="formtemplate" value=" BasicForm" />53 <input type="hidden" name="templatetopic" value="%SYSTEMWEB%.FAQTemplate" /> 54 <input type="hidden" name="formtemplate" value="%SYSTEMWEB%.BasicForm" /> 53 55 <input type="hidden" name="TopicClassification" value="FrequentlyAskedQuestion" /> 54 56 <input type="hidden" id="faqtopictitle" name="TopicTitle" value="" /> -
trunk/core/data/System/VarSEARCH.txt
r8415 r8427 46 46 %SEARCH{ 47 47 "FAQ" 48 no total="nonoise"48 nonoise="on" 49 49 header="| *Topic: * | *Summary: * |" 50 50 format="| $topic | $summary |"
Note: See TracChangeset
for help on using the changeset viewer.
