I'm using Tabs Panels Style with Panels 3. When I click on a tab within a panel, the anchor for the URL is quite long and looks unprofessional.

e.g.
http://www.mydomain.com/#tabs-subjects-row_2_1-1
http://www.mydomain.com/#tabs-subjects-row_2_1-2

Is there a way to have custom anchor names like the following:
http://www.mydomain.com/#articles
http://www.mydomain.com/#bibliographies
etc.

This way I can hard code what they are. It will look more professional and I won't need to worry about the anchor names changing in case of bookmarks or external links to the page.

Comments

nedjo’s picture

The tabs module now has a configuration option that you can select to construct anchors from tab titles: admin/settings/tabs.

rgraves’s picture

Thanks. I'm still using tabs 6.x-1.0 so that's why I didn't see it. I see it also now has the ability to hide empty tabs (which I solved through a hack) and set a default active tab - both very nice little features.

I'll have to upgrade.

Apfel007’s picture

Hi, I use the tabs 6.x -1.dev.

How can I activate the anchor I I use the tabs in panels/mini panels?

Cheers

smoothify’s picture

Status: Active » Fixed

marking this as fixed as this feature is in the 6.x versions.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.