Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Frequently Asked Questions using Joomla content articles. iFAQ (former MooFAQ) is a FAQ Component for Joomla!™ which uses jQuery and Bootstrap to load Joomla Articles in Accordion format.

Product Page | Documentation Page

Auto Expand All

10 years 4 months ago #15846 by gbensonii
I have searched the forum for an answer and to date I can not find any way to automatically expand all faq's?

I know you can set the automatically open to specific id's but this means that every time a new FAQ is added to a category that ID needs to be added to the Automatically Open box.

Is there a way to set it to automatically open ALL?

Please Log in or Create an account to join the conversation.

10 years 4 months ago #15847 by gbensonii
Just to be clear about what I am doing...I have a site that has a large number of FAQ's and for a menu option I am creating I want it to automatically have all FAQ's opened so that it can be used to print ALL without the user having to remember to EXPAND ALL.

Please Log in or Create an account to join the conversation.

10 years 4 months ago #15848 by douglas
Dear gbensonii,

I cannot include this in the source right now, but I can give instructions on how to implement this.

First of all, create a backup.
Second, open this file:
/components/com_moofaq/assets/js/moofaq.js

Then add:
expand.fireEvent('click');

Right after this code:
var expand	= document.id('expand-all');
expand.addEvent('click', function(){
	this.headings.each( function(heading, i) {
		this.collapsibles[i].show();
		var span = document.getElement('span', heading);
		heading.removeClass('pane-toggler');
		heading.addClass('pane-toggler-down');
	}.bind(this));
	return false;
}.bind(this));


All the best,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback