For example, I have four tabs:
Tab1 | Tab2 | Tab3 | Tab4
By default, QT will display Tab1 when loaded. Sometimes there is no newly added or updated node in Tab1, but there is in other tabs, for example Tab3. Then, I wish Tab3 is displayed by default when page is loaded.
Is there an easy way to get this feature?
Thanks

Comments

Pasqualle’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

There is a similar feature request: #299982: Random top tab

maybe we should create a new hook for selecting the first displayed tab. I do not know about an easy way, I think it requires a very specific code, which could not be part of the QT module..

iKillBill2’s picture

OMG, I want to this function badly...

DizzyC’s picture

Oh yes! Please!
I need this too!
I've used a rather nasty hack to achieve this functionality.
I have created a custom template for the nodes I'm using with Quicktabs (each tab holds a view with one node). I've added an html attribute with the timestamp of the view ( <div class="node" created="1246627302"> ) and then I used jQuery to select the tab that holds the most recent node.

It is a nasty hack and it doesn't solve my problem because i also have a mobile version witch does not suport Javascript.

So i subscribe to this request. A hook would be fine for a start.

Cheers.

TimAlsop’s picture

It would be nice if the Smart Tabs (see http://drupal.org/project/smart_menus) module worked with this module. I think Smart Tabs uses a cookie to remember the last tab selected, and when you revisit the page it loads the tab which was last opened.

flyboynomad’s picture

I have the same issue going on with quick tabs.

Could you please tell me if you have any solution for this issue?

Quicktabs are having sample/sample?quicktabs_1=2, sample/sample?quicktabs_1=3

All are pointing to same page and Google says above are separate pages and needs unique page title's to each.

Urgent help request and would be really appreciated

thanks!

flyboynomad’s picture

Status: Active » Fixed

1.Quick fix : Add you URL's to robot.txt

example:
Disallow : ~/sample/sample?quicktabs_1=2

2.Quick fix : Add your QT url's to .htaccess and redirect them to main page.

This is what I have been doing and its working for me

Note: Google crawl will usually take 3-4 weeks to take off duplicate QT links of the webmaster tools so be patient. :D

Cheers!

Pasqualle’s picture

Status: Fixed » Active

@flyboynomad: I think your comments should be here: #354867: SEO: Add Canonical Tags to Quicktab Pages
this ticket is about remembering the last tab selected..

flyboynomad’s picture

My bad Pasqualle, I was not paying attention.

Thanks for correcting me :D

netw3rker’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Issue summary: View changes