Advertisement:

Navigation

SMF Mod Site

Mod Name:
FAQ Tag
Created By:
Thantos
Type:
BBC
First Created:
December 21, 2005, 06:30:58 PM
Last Modified:
February 04, 2006, 08:49:57 AM
Latest Version:
0.1
Compatible With:
1.1 RC1
Total Downloads:
3167

Download this mod

faq_0-1.zip (50kB) [3447]
Manual Install Instructions for SMF

Description:

FAQ Tag

Written by: Michael Miller
Contact:  staff@geekoverloaded.com

This mod adds a [faq] tag that can be used in two ways:
1) [faq=###], displays the faq item with the requested id
2) [faq]Some Title[/faq], displays the faq item with the requested subject

If no match is found then nothing will be displayed.

Also included is an FAQ page accessible though ?action=faq.  No CSS was included so you'll need to specify the design yourself. 
To aid you in that the following CSS classes are used:
faqlist_item
faq_item
faq_header
faq_body

And the following ID is used
faqlist.

The basic structure of the page is:
<ul id="faqlist>
  <li class="faqlist_item">Link</li>
  ...
  <li class="faqlist_item">Link</li>
</ul

<div class="faq_item">
  <div class="faq_header">Title of FAQ item</div>
  <div class="faq_body">Body of FAQ item</div>
</div>

<div class="faq_item">
  <div class="faq_header">Title of FAQ item</div>
  <div class="faq_body">Body of FAQ item</div>
</div>

...

<div class="faq_item">
  <div class="faq_header">Title of FAQ item</div>
  <div class="faq_body">Body of FAQ item</div>
</div>


A permission was also added in to specify you may manage the faq entires.  The permission is named manage_faq


Version History:
Version 0.1:
 -Original Version