Use the Tab name for the tab links

Created on 13 May 2020, over 4 years ago
Updated 15 September 2024, 2 months ago

Is it possible to provide the tab name instead of paragraph-id for the tab links?

I would like the urls of a tabbed page, for example http://mysite/mysection#tab-648-3, not to show the {{ paragraph_id }}-{{ key }} pattern after the hash, but a string value something like http://mysite/mysection/profiles .

Thanks .

Feature request
Status

Closed: won't fix

Version

5.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada taylor_wills

    Patch does not apply successfully.

  • Status changed to Needs review 8 months ago
  • Re-rolled patch according to latest branch.

  • Assigned to Stockfoot
  • 🇺🇸United States Stockfoot

    Assigning myself to begin review on this issue.

  • Issue was unassigned.
  • Status changed to Needs work 7 months ago
  • 🇺🇸United States Stockfoot

    The patch applied correctly but attempting to put a "Tab" component leads to a WSOD when the page loads.

    I think something is missing in the syntax. My code editor shows a comment code color change that there is probably a missing character somewhere.

    See the following image for reference before and after the patch.
    Before patch on left, after patch on right.

    Moving to "Needs work" status

  • Status changed to Needs review 7 months ago
  • Hi @Stockfoot,
    Thanks for pointing out the issue. Yes, I forgot to close "}}" brackets and it was resulting in WSOD. Fixed the issue and attaching new [atch. Kindly please review.

  • Status changed to Closed: won't fix 2 months ago
  • 🇺🇸United States thejimbirch Cape Cod, Massachusetts

    Thanks for the patch. It works as expected.

    However, this change can't be made to the module as it would change the URLs of existing sites and possibly cause broken links.

    The patch in #8 is safe to apply if you want this functionality.

    Closing as Won't Fix.

Production build 0.71.5 2024