1 (edited by mvlcek 2011-05-07 07:20:15)

Topic: FAQ Plugin

This plugin allows you to define Frequently Asked Questions (FAQs), where answers are only shown after you click on the question.

For an example see here.

Installation

Download from http://get-simple.info/extend/plugin/faq/159/ and unzip to your plugins directory.
You have to include jQuery 1.4+ in the head of your template and call <?php get_header(); ?> (after the jQuery include).

Version 1.0: _faq autoclose

Usage

Create a page, enter your questions as headers (h1, h2, ...) and your answers as anything else and give the page a tag _faq. Use _faq autoclose to automatically close questions.
You can structure your questions by using different levels of headers.

Customization

Add custom styles to your style sheet (FAQ page are wrapped in a div.faq-wrapper) and/or upload two images faq_open.jpg and faq_closed.jpg to your data/uploads directory.

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.

Re: FAQ Plugin

I am really sucks!
I cannot run this plugin, yet here I seem to be simple to use.
Do you have a tutorial step by step "for dummies like me?

Re: FAQ Plugin

thanks, great plugin, it works
http://www.chaga-mushroom.com/faq/

Re: FAQ Plugin

jlm wrote:

I am really sucks!
I cannot run this plugin, yet here I seem to be simple to use.
Do you have a tutorial step by step "for dummies like me?

I just saw that I forgot to add that you need jQuery 1.4+ included in your template. Otherwise it's just as described.

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.

Re: FAQ Plugin

jlm wrote:

I am really sucks!
I cannot run this plugin, yet here I seem to be simple to use.
Do you have a tutorial step by step "for dummies like me?

Another possible pitfall: make sure you call get_headers() in your template and that the call is positioned AFTER the include of jQuery, best at the end of the HTML header.

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.

Re: FAQ Plugin

jlm wrote:

I can not run the plugin (even on a basic install) - I'm really bad or something I'm missing!
Can you install it?
I put the Pugin at this address http://getsimple.net63.net

for I see how to proceed.
thank you

Jim, you should never never publish any data
if you need so bitterly assistance, send personal message to a forum member etc.

|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forum/forum/16/german-deutsch/

Re: FAQ Plugin

Connie wrote:
jlm wrote:

I can not run the plugin (even on a basic install) - I'm really bad or something I'm missing!
Can you install it?
I put the Pugin at this address http://getsimple.net63.net

for I see how to proceed.
thank you

Jim, you should never never publish any data
if you need so bitterly assistance, send personal message to a forum member etc.

I apologize for this error. I am a French and my English is a small level. I gave the username and password for this installation because it is not a production site. This is a test site. Too bad ....

8 (edited by jlm 2011-05-07 02:35:12)

Re: FAQ Plugin

I just did a complete reinstallation and the plugin works perfectly. Thank you for this plugin that will be very useful.
I did some tests with different uses (integrated image, iframe googlemap)
good day

Re: FAQ Plugin

Just a couple of observations:

- Degrades nicely to showing all if JavaScript is disabled – thanks!

- Would it be possible to have an expanded section/question collapse when another one is opened? At the moment, the page length can grow considerably and newly expanded parts are more likely to be off the current view.

--
Nick.

Re: FAQ Plugin

hameau wrote:

- Would it be possible to have an expanded section/question collapse when another one is opened? At the moment, the page length can grow considerably and newly expanded parts are more likely to be off the current view.

See version 1.0 - use tag _faq autoclose.

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.

Re: FAQ Plugin

Thanks, mvlcek. It is a good plug-in. For me works http://gsimple.ru/faq/

Re: FAQ Plugin

The faq Plugin doesn´t work with me, what am I doing wrong?

I created a new Page and  typed the following:

Question 1 (formatted as header 1)
answer1
Question 2 (formatted as header 1)
answer2

(% _faq %)

it didnt work , then I tried

(% _faq %)
Question 1 (formatted as header 1)
answer1
Question 2 (formatted as header 1)
answer2

I also made sure that jquery was included well in the template
(I tried the newest, and 1.4.3)  and I made sure that
<?php get_header(); ?> was called in the template and
I made sure that <?php get_header(); ?> was called after the inclusion of jquery.

I tried with 2 different Installations on Windows and Linux and I tried
with 1.0 and 0.9 Version of the plugin.

Did I use the tags right?

Re: FAQ Plugin

Niedes wrote:

The faq Plugin doesn´t work with me, what am I doing wrong?

You need to enter _faq in the Tags & Keywords field, not in the content.

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.

Re: FAQ Plugin

mvlcek wrote:

You need to enter _faq in the Tags & Keywords field, not in the content.

lol now its working fine, thank you for the quick reply! :-)