FAQViewTemplate
System
%{ Include the default view templates from your current SKIN and COVER paths }%%TMPL:INCLUDE{"view"}%%{ Override the content template DEFinition. This normally just contains %TEXT%, but we add some more here to help decorate all the [[FAQForm]] topics in the same way }%%TMPL:DEF{"content"}% ---+ Question: %FORMFIELD{"TopicSummary"}% ---++ Answer %TEXT% *Back to:* [[%SYSTEMWEB%.%FORMFIELD{"TopicClassification"}%][%FORMFIELD{"TopicClassification"}%]] ---- *Related Topics:* %FORMFIELD{"RelatedTopics"}%%TMPL:END%%{ Re-define the form DEFinition to be empty; the contents of the from data have already been displayed above so it wouldn't make much sense to show all that again at the bottom of each [[FAQForm]] topic }%%TMPL:DEF{"form"}%%TMPL:END%
History: r1 - 19 Jun 2011 - 12:37:31 -
ProjectContributor