Frequently Asked Questions
This is a real FAQ, and also a demo of an easily implemented knowledge-base solution. You may view the code for the
topic creator or
raw text of the whole topic to see how it was done.
- FAQTemplate is used to populate new FAQ topics with their default content
- FAQForm is the DataForms definition used on the FAQ topics. Also implements autocomplete function for the RelatedTopics field
- FAQViewTemplate controls how FAQForm topics look when viewed
- FAQEditTemplate controls how FAQForm topics look when edited
- AutoViewTemplatePlugin activates FAQViewTemplate and FAQEditTemplate for topics that have FAQForm attached to them
- JQueryWikiWord "wikifies" the free-text Title field into a valid WikiWord topic name, prefixed with FAQ
- JQueryTextboxList for autocomplete functionality on the RelatedTopics field
- JQREQUIRE activates jQuery javascript plugins in the browser
- ADDTOZONE inserts in-line javascript to the appropriate place in the rendered page
- URLPARAM is used to relay the autocomplete request from the web browser into a part of a SEARCH query
- SEARCH On this topic, displays all topics with FAQForm attached that have TopicClassification set to
FrequentlyAskedQuestion
. In the FAQForm topic, SEARCH generates the suggested list of topics for a given autocomplete request
- MAKETEXT will try to use a translation appropriate for the logged-in user's language preference for the string given to it
- INCLUDE allows topics to re-use content from other topics
- STARTSECTION/ENDSECTION allows INCLUDE to include specific parts of a topic
- TWISTY allows hidden content such as this
List of FAQs
Could not perform search. Error was: 'tempfile' can't be called as a method at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506.
at /usr/share/perl5/vendor_perl/File/Temp.pm line 1006.
File::Temp::tempfile('File::Temp', 'STDERR.24694.XXXXXXXXXX', 'DIR', '/www/sugpo223/cgi-bin/wiki/working/tmp', 'UNLINK', 0) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506
Foswiki::Sandbox::sysCommand('Foswiki::Sandbox', '/bin/grep -E -l -H -- %TOKEN|U% %FILES|F%', 'TOKEN', '^%META:FORM{.*\bname=\".*FAQForm\"', 'FILES', 'ARRAY(0x30ac4e8)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 109
Foswiki::Store::SearchAlgorithms::Forking::search('^%META:FORM{.*\bname=\".*FAQForm\"', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x304af80)', 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2f3a8a0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 267
Foswiki::Store::SearchAlgorithms::Forking::_webQuery('Foswiki::Search::Node=HASH(0x30a5dc0)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x304af80)', 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2f3a8a0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 182
Foswiki::Store::SearchAlgorithms::Forking::query('Foswiki::Search::Node=HASH(0x30a5dc0)', 'Foswiki::Iterator::FilterIterator=HASH(0x304af80)', 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2f3a8a0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518
Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x21a38b8)', 'Foswiki::Search::Node=HASH(0x30a5dc0)', 'Foswiki::Iterator::FilterIterator=HASH(0x304af80)', 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2f3a8a0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 470
Foswiki::Store::VC::Store::searchInWebMetaData('Foswiki::Store::RcsLite=HASH(0x21a38b8)', 'Foswiki::Search::Node=HASH(0x30a5dc0)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x304af80)', 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2f3a8a0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 192
Foswiki::Store::QueryAlgorithms::BruteForce::_webQuery('Foswiki::Query::Node=HASH(0x30512f8)', 'System', undef, 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2fd3778)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 78
Foswiki::Store::QueryAlgorithms::BruteForce::query('Foswiki::Query::Node=HASH(0x30512f8)', undef, 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2fd3778)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518
Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x21a38b8)', 'Foswiki::Query::Node=HASH(0x30512f8)', undef, 'Foswiki=HASH(0x2147ab0)', 'HASH(0x2fd3778)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839
Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x30512f8)', undef, 'HASH(0x2fd3778)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352
Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x2f444c0)', 'search', 'form.name~\'*FAQForm\'', 'basetopic', 'FrequentlyAskedQuestions', '_RAW', '\x{a} "form.name~\'*FAQForm\'"\x{a} type="query"\x{a} excludetop...', 'web', 'System,Main', ...) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 32
Foswiki::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419
eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411
Error::subs::try('CODE(0x2f37918)', 'HASH(0x2a6ba88)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41
Foswiki::SEARCH('Foswiki=HASH(0x2147ab0)', 'Foswiki::Attrs=HASH(0x2f37a38)', 'Foswiki::Meta=HASH(0x2a538a8)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145
Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x2147ab0)', 'SEARCH', '\x{a} "form.name~\'*FAQForm\'"\x{a} type="query"\x{a} excludetop...', 'Foswiki::Meta=HASH(0x2a538a8)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021
Foswiki::_processMacros('Foswiki=HASH(0x2147ab0)', '---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...', 'CODE(0x20a8370)', 'Foswiki::Meta=HASH(0x2a538a8)', 16) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818
Foswiki::innerExpandMacros('Foswiki=HASH(0x2147ab0)', 'SCALAR(0x20b75c8)', 'Foswiki::Meta=HASH(0x2a538a8)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327
Foswiki::expandMacros('Foswiki=HASH(0x2147ab0)', '---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...', 'Foswiki::Meta=HASH(0x2a538a8)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103
Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x2a538a8)', '---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 412
Foswiki::UI::View::_prepare('---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...', 'Foswiki::Meta=HASH(0x2a538a8)', 0) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 392
Foswiki::UI::View::view('Foswiki=HASH(0x2147ab0)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 316
Foswiki::UI::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419
eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411
Error::subs::try('CODE(0x1781c30)', 'HASH(0x2147690)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435
Foswiki::UI::_execute('Foswiki::Request=HASH(0x2121230)', 'CODE(0x2120d80)', 'view', 1) called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 274
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x2121230)') called at /www4/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Engine/CGI.pm line 41
Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x1acea90)') called
More FAQs
You can create your own local FAQ topics specific to your site. If you create your own FAQs, please consider sharing them at
Foswiki:Support.FAQ so that your work may benefit others.

These topics are for frequently asked questions
including answers. Do
not use this to ask support questions!
More sources...
Other places where you can find answers to your questions: