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

无法搜寻,错误
Error in tempfile() using /home/www/foswiki/working/tmp/XXXXXXXXXX: Could not create temp file /home/www/foswiki/working/tmp/2JyeLLx7cA: No space left on device at /home/www/foswiki/lib/Foswiki/Sandbox.pm line 506 at /usr/share/perl5/File/Temp.pm line 1381 File::Temp::tempfile('File::Temp', 'STDERR.13785.XXXXXXXXXX', 'DIR', '/home/www/foswiki/working/tmp', 'UNLINK', 0) called at /home/www/foswiki/lib/Foswiki/Sandbox.pm line 506 Foswiki::Sandbox::sysCommand('Foswiki::Sandbox', '/usr/bin/rlog -r%REVISION|N% %FILENAME|F%', 'REVISION', 1.2, 'FILENAME', '/home/www/foswiki/data/System/FAQSearchDoesNotWork.txt,v') called at /home/www/foswiki/lib/Foswiki/Store/VC/RcsWrapHandler.pm line 323 Foswiki::Store::VC::RcsWrapHandler::getInfo('Foswiki::Store::VC::RcsWrapHandler=HASH(0xa18dfb8)', undef) called at /home/www/foswiki/lib/Foswiki/Store/VC/Store.pm line 100 Foswiki::Store::VC::Store::readTopic('Foswiki::Store::RcsWrap=HASH(0x866cd78)', 'Foswiki::Meta=HASH(0xa1bc788)', undef) called at /home/www/foswiki/lib/Foswiki/Meta.pm line 968 Foswiki::Meta::loadVersion('Foswiki::Meta=HASH(0xa1bc788)', undef) called at /home/www/foswiki/lib/Foswiki/Meta.pm line 430 Foswiki::Meta::load('Foswiki::Meta', 'Foswiki=HASH(0x8638308)', 'System', 'FAQSearchDoesNotWork') called at /home/www/foswiki/lib/Foswiki/MetaCache.pm line 180 Foswiki::MetaCache::get('Foswiki::MetaCache=HASH(0x8aa68f0)', 'System', 'FAQSearchDoesNotWork') called at /home/www/foswiki/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 230 Foswiki::Store::QueryAlgorithms::BruteForce::_webQuery('Foswiki::Query::Node=HASH(0xa14d670)', 'System', undef, 'Foswiki=HASH(0x8638308)', 'HASH(0xa1035c0)') called at /home/www/foswiki/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 78 Foswiki::Store::QueryAlgorithms::BruteForce::query('Foswiki::Query::Node=HASH(0xa14d670)', undef, 'Foswiki=HASH(0x8638308)', 'HASH(0xa1035c0)') called at /home/www/foswiki/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsWrap=HASH(0x866cd78)', 'Foswiki::Query::Node=HASH(0xa14d670)', undef, 'Foswiki=HASH(0x8638308)', 'HASH(0xa1035c0)') called at /home/www/foswiki/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0xa14d670)', undef, 'HASH(0xa1035c0)') called at /home/www/foswiki/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0xa0b7f68)', 'search', 'form.name~\'*FAQForm\'', 'basetopic', 'FrequentlyAskedQuestions', '_RAW', '\x{a} "form.name~\'*FAQForm\'"\x{a} type="query"\x{a} excludetop...', 'web', 'System,Main', ...) called at /home/www/foswiki/lib/Foswiki/Macros/SEARCH.pm line 32 Foswiki::__ANON__() called at /home/www/foswiki/lib/CPAN/lib/Error.pm line 379 eval {...} called at /home/www/foswiki/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0xa0a8730)', 'HASH(0xa0b7ea8)') called at /home/www/foswiki/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x8638308)', 'Foswiki::Attrs=HASH(0xa0a7d50)', 'Foswiki::Meta=HASH(0x90bf0d8)') called at /home/www/foswiki/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x8638308)', 'SEARCH', '\x{a} "form.name~\'*FAQForm\'"\x{a} type="query"\x{a} excludetop...', 'Foswiki::Meta=HASH(0x90bf0d8)') called at /home/www/foswiki/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x8638308)', '---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...', 'CODE(0x85e0468)', 'Foswiki::Meta=HASH(0x90bf0d8)', 16) called at /home/www/foswiki/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x8638308)', 'SCALAR(0x85e0ee8)', 'Foswiki::Meta=HASH(0x90bf0d8)') called at /home/www/foswiki/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x8638308)', '---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...', 'Foswiki::Meta=HASH(0x90bf0d8)') called at /home/www/foswiki/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x90bf0d8)', '---+ Frequently Asked Questions\x{a}\x{a}This is a real FAQ, and also...') called at /home/www/foswiki/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(0x90bf0d8)', 0) called at /home/www/foswiki/lib/Foswiki/UI/View.pm line 392 Foswiki::UI::View::view('Foswiki=HASH(0x8638308)') called at /home/www/foswiki/lib/Foswiki/UI.pm line 316 Foswiki::UI::__ANON__() called at /home/www/foswiki/lib/CPAN/lib/Error.pm line 379 eval {...} called at /home/www/foswiki/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x806a958)', 'HASH(0x8638048)') called at /home/www/foswiki/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x8624ff0)', 'CODE(0x8600e68)', 'view', 1) called at /home/www/foswiki/lib/Foswiki/UI.pm line 274 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x8624ff0)') called at /home/www/foswiki/lib/Foswiki/Engine/CGI.pm line 41 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x8287168)') 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.

ALERT! These topics are for frequently asked questions including answers. Do not use this to ask support questions!

Create a new FAQ topic

Title:

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

Question:

Summarize your question in a few simple words, e.g. "I did this ..., how do I ..."

More sources...

Other places where you can find answers to your questions:

主题版本: r1 - 2011-03-07, ProjectContributor
 
This site is powered by Foswiki版权所有 © 所有作者。本合作平台的所有资料归内容提贡者所有。
回馈有关 HEPG 的建议、需求及问题。