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

Expand All / Collapse All functionality

14 years 10 months ago - 14 years 10 months ago #403 by digingbil
Hello there,

Thanks for the awesome extension at first.

I got a 1 question thou:

While I was working for a client he wanted Expand All / Collapse All functionality implemented in the faq. Something like this: http://pr0digy.com/sandbox/mootools/slide-effect/

While I'm not new to mootools, still I wasn't able to figure out how to achieve that.

Any help on this highly appreciated!

Thank you very much!

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

14 years 10 months ago #404 by douglas
Dear Digingbill,

This is something that I can do for you, however tomorrow is a holiday here in Brazil and I'm going to be at a church conference until Sunday.

Can you wait until Tuesday?

Regards,

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

14 years 10 months ago #406 by digingbil
Hi Douglas ,

Thanx for the reply!

Sure I can wait if that's the case. But you know clients can't wait :) And I recommended to them to buy the extension but now they came with this functionality request.

Anyway, I would appreciate some smaller hint on how can I achieve this if possible?

I was messing with this code placed in the /components/com_moofaq/views/categories/tmpl/default.php :
<div class="exp-coll-btn">
        <script type="text/javascript">
 
		window.addEvent('domready', function(){
			var headings = $$('.panel h3');
			var collapsibles = $$('.jpane-slider');
 
		$('collapse_all').onclick = function(){
					headings.each( function(i) {
							collapsibles[i].hide();
						});
					return false;
				}
 
		$('expand_all').onclick = function(){
						headings.each( function(i) {
								collapsibles[i].show();
						});
					return false;
				}
		});
 
		</script>
        <a id="expand_all" href="#">Expand All</a> | <a id="collapse_all" href="#">Collapse All</a>
        </div>

But Im receiving some errors in firebug :(

Thank you, and have a good day!

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

14 years 10 months ago #408 by douglas
Dear Digingbil,

Our accordion effect is a little different. I'll try to make this modification for you tomorrow morning.

Regards,

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

14 years 10 months ago #430 by digingbil
Thank you so much!

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

14 years 10 months ago #443 by digingbil
Hello,

Any good news about this?

Thanx

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

14 years 10 months ago #444 by douglas
Dear John,

I had already sent to you by email, last week. I'll send it again.

Regards,

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

14 years 10 months ago #445 by digingbil
Hi

Somehow I didn't receive your earlier email , but I got the new one.

I'll test the new version asap. The faq page at the client's site is made with 'categories' view. I hope that this one will work there. I'll let you know.

Thank you,

PS. I'll mention your work put in the dev of this version to the client, so I hope he'll consider a donation.

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

14 years 10 months ago - 14 years 10 months ago #497 by travisp
Any word on how this worked? I would love to have the same expand all functionality on my site.

Will it be rolled into the component or will it remain only a custom fix?

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

14 years 10 months ago #498 by douglas
Dear Travisp,

I've released a new version last week with this change and I'm working on a way to allow you to download this update.

It will probably be ready by the end of the week.

Regards,

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