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
Comment #1
pasqualleThere 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..
Comment #2
iKillBill2 commentedOMG, I want to this function badly...
Comment #3
DizzyC commentedOh 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.
Comment #4
TimAlsop commentedIt 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.
Comment #5
flyboynomad commentedI 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!
Comment #6
flyboynomad commented1.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!
Comment #7
pasqualle@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..
Comment #8
flyboynomad commentedMy bad Pasqualle, I was not paying attention.
Thanks for correcting me :D
Comment #9
netw3rker commentedComment #10
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!
If still an issue or needed for 4.0.x (latest branch) feel free to reopen