Hello. On a client site the open/hide functionality which can be set up for FAQs seems to have ceased working for reasons unknown. As far as I can tell this has happened since the most recent upgrade to the FAQ module or possibly the most recent Drupal core upgrade.

I've tested in two browsers and have checked in both that Javascript is on and that other Javascript effects are working.

The settings for questions are as follows:
* Clicking on question opens/hides answer under question
* Display short text
* Use accordion effect for "opens/hides answer under question" layout
* Show "expand / collapse all" links for collapsed questions
* Disable question links to nodes

I've toggled these on and off to no avail. I've had a look in Firebug and nothing relevant shows up (I am seeing a Google Analytics javascript error there, but research indicates that's actually a Firebug bug. Also turning GA off makes no difference to the FAQ issue anyway).

If it helps an example page is here: http://www.ethics.org.au/faq/advocacy

Sorry if I'm missing something obvious here. Thanks for your help!

Comments

stella’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Have you modified the html in a template file in your theme or something? The javascript looks for a "div" with the class "faq-dt-hide-answer" but it appears that your site outputs html containing a "dt" rather than a "div" with the class "faq-dt-hide-answer". I think that's the problem.

KAP10’s picture

I have the same problem. I installed the module on the weekend and the accordion effect was working fine but it doesn't work today. Here is my example: http://www.communityproducers.com/faq

sparkells’s picture

Sorry to take a while to get back to this, but I've had a chance to look into it now. Of course you're right! I'm a bit mystified that it was working to start with as the template hasn't changed since the site was first built, but the main thing is that it's fixed now.

Thanks for your help!

Simone

stella’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

original problem fixed, the other one sounds like a dupe of #655216: Reseting visibility classes for accordion effect