Hello,

I intend to use multiple QT blocks in my drupal site. I would like to know if it is possible for different QT blocks to use different tab styles. I do know that theme hooks are unavailable. So, any help appreciated.

Regards,
Sreekanth

CommentFileSizeAuthor
#12 qt_admin.png22.03 KBpanji

Comments

katbailey’s picture

This feature is in the pipeline, it will be some time before it's available though

katbailey’s picture

Category: support » feature
jaydub’s picture

I looked at this for a moment or two...Seems to me that the
problem is that currently the CSS styles are such that they
target all quicktabs (via the 'quicktabs_tabs' class) so even
if you could setup multiple quicktabs blocks to be configured
with different tab styles and have multiple stylesheets for the
the multiple quicktabs blocks loaded, the last stylesheet
would essentially set the rules for all quicktabs since there
is only a single quicktabs CSS class target.

Have you guys come up with an alternative idea?

jaydub’s picture

ok well i've got this working via wrapping each quicktabs block
with a CSS class name corresponding to the tab style. Then
each tab style CSS file just needs to have the relevant CSS class
name added to all the rules in order for the selectors to work.

http://drupal.qoolio.org/quicktabs-test

Katherine note this is based on the modified quicktabs that
I've been working on in my (minimal) spare time although the
changes for multiple tab styles is something that can be done
outside of the other work I've done.

katbailey’s picture

Hey jaydub,
nice! can you send me a patch file of the diff against your version and then I can implement it fairly easily on the 1.x version... if that makes sense.
thanks,
Katherine

najibx’s picture

Hi,

jaydub, the demo looks great.
Katherine, did you get anywhere with this?
TQ

panji’s picture

Wow, that's look great? but why don't you make it available on admin option? It would be nice!

pasqualle’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Assigned: Unassigned » pasqualle
pasqualle’s picture

http://drupal.org/cvs?commit=157476

It is now possible to set style per Qtabs.
Zen and Excel style modified to be able to mix these styles within the same page. Other styles to come..

run update.php

pasqualle’s picture

Title: Different styling for different QT blocks » Different styling for different QTabs
Status: Active » Fixed
pasqualle’s picture

http://drupal.org/cvs?commit=157540

The admin/settings/quicktabs page does not use iframes any more, it uses different styles for the qtabs. So it is now a perfect example for this functionality..

panji’s picture

StatusFileSize
new22.03 KB

(just update QT Module) admin/settings/quicktabs multiple QT Style didn't work for me, nor on my frontpage

attached sample

pasqualle’s picture

refresh the page

panji’s picture

no,... it's still the same.. I've clear the cache, change to other browser,.. it's still looks the same,..

pasqualle’s picture

Status: Fixed » Postponed (maintainer needs more info)

This is a css issue, I have seen the page like you seeing it, but a simple page refresh was enough for me. It can be your browser, it can be the site theme cache, or you are using old css files.. I don't know about any other possibilities..

Did you tried to clear the theme cache, by visiting admin/build/themes and clicking on 'Save configuration' button, or on admin/settings/performance page clicking on 'clear cache'?

panji’s picture

I do clear the all the cache.... and I've try the other themes, it's still looks the same for me.. :( anyone with the same problem?

najibx’s picture

works fine with me.
maybe try disable and uninstall the old QT module ?
then remove the whole folder locally and in the server.
throw in the new dev?

pasqualle’s picture

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

The issue is without response and this should not be a problem in the latest release. Closing..

Feel free to reopen the issue if the problem still exists.

drupalusering’s picture

It works when i set the ajax to NO for both the main parent quicktabs and the sub qt. However if i set Ajax to yes on Parent and NO on children it fails to load the different style and uses no styling/ default

drupalusering’s picture

the reason i would like to use Ajax on parent is because there's quite a bit of content in children so i use it to reduce the initial page load

drupalusering’s picture

Status: Closed (fixed) » Needs work

needs work

pasqualle’s picture

netw3rker’s picture

Issue summary: View changes
Status: Needs work » Closed (fixed)