The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Jun 08, 2012 11:38 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Aug 23, 2005 9:04 pm
Posts: 62
Location: Kiel - Germany
Hi,
i will that all JHtmlTabs are expanded, when a user started my component page in backend (see sample pic).
Is this possible? I have not found a option for it in my search. :eek:


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Tue Jun 12, 2012 3:02 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Oct 30, 2008 7:27 pm
Posts: 149
Joomla uses mootool's Fx.Accordion to create those accordion tabs.

You can see the mootools code in /libraries/joomla/html/html/sliders.php -> _loadBehavior()

To my knowledge (which on mootools is limited), Fx.Accordion does not have the option of expanding all the groups. You would therefore have to use something else if you want the accordion effect still. If you don't care about collapsing the tabs (ie, they load expanded and cannot be collapsed) then simply disable the Fx.Accordion code in that file and all the tabs will be expanded by default.

This is a core hack though so you'll need to add the checking/re-hacking to your Joomla update process. You may be able to avoid the core hack by making a system plug-in that looks for and removes the mootools code. I'm not sure if this is possible though.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 



Who is online

Users browsing this forum: Google Adsense [Bot], rcarey and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group