Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

Find the Link to a Tab in Drupal QuickTabs

Parent Feed: 
How to Get the Link to a Tab in Drupal

One OSTraining member asked for a way to get the direct link to a tab while using the Quick Tabs module for Drupal.

He wanted to figure out the URL to open the page so that his selected tab always shows first.

In this short tutorial, I'll tell you how to do it.

Step #1. Get the link of the tab

In my example, I want to find out the direct link of the second tab with the label, "Education".

  • Right click on the tab.
  • Click "Copy link address".
1

The copied link will look like this:

http://www.yoursite.any/something#tabs-0-64074600-1455291916-2

In this example, "#tabs-0-64074600-1455291916-2" works as selector for this particular tab.

Step #2. Use the link

  • Test the link by pasting it into a new browser tab.
  • Press the "Enter" key.
2

The page will load with the selected tab open.

3

About the author

Valentín creates beautiful designs from amongst the tequila plants of Jalisco, Mexico. You can see Valentín's design work all over this site and you can often find him helping members in our support forum.


Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web