with regard to http://drupal.org/node/345841#comment-1524130, this is only applicable if I select "Clicking on question opens the answer in a new page". Yes, it does provide bullets or number. But clicking on question bring me to new page.

The option is not available if select "Clicking on question opens/hides answer under question". I still want the ordered & unordered lists where answer is opens/hides answer under question.

Comments

stella’s picture

Ah right, that wasn't clear from your original post. That's not possible at present, and I'm probably not going to add it as the faq pages are fully customizable via the theme layer.

In your theme's directory, create a copy of the includes/faq-hide-answer.tpl.php file, or if using categories, then copy the includes/faq-category-hide-answer.tpl.php instead. You will need to change the divs to the appropriate list html (ol vs ul, and add li tags). In addition, you will probably need to add the following to a custom javascript file in your theme:

    // hide/show answer to question
    $('li.faq-dd-hide-answer').hide();
    $('li.faq-dt-hide-answer').click(function() {
      $(this).next('li.faq-dd-hide-answer').slideToggle();
      return false;
    });

Hope that helps.

Cheers,
Stella

stella’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.