Find the Link to a Tab in Drupal QuickTabs

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

Instructor

  • Valentin discovered Joomla in 2010, and since then he has considered it as the best CMS. Valentin has been coding extensions and templates for Joomla for many years and truly enjoys helping people build their own websites with Open Source tools. He lives in San Julián, Jalisco, México.

0 0 votes
Blog Rating
Subscribe
Notify of
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
aleya

Hello
Is it possible to use quicktabs module in drupal8? If yes then how…please show a demonstration

1
0
Would love your thoughts, please comment.x
()
x