Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the Title section for example, when selecting "Output as a link", and entering an anchor link such as #accessory or somepage#section, the link is being rendered as "/%23accessory
" and "somepage/%23section
" instead of the hashed link as it was typed in. Is this a bug, or is this by design?
Thank you,
--Tony
Comment | File | Size | Author |
---|---|---|---|
#1 | semantic-panels-named-anchor-hash-replacement-2012320-1.patch | 1.73 KB | timbrandin |
semantic_panels_anchor_link.png | 24.27 KB | RowboTony |
Comments
Comment #1
timbrandin CreditAttribution: timbrandin commentedHere's a solution to that problem.
Comment #2
timbrandin CreditAttribution: timbrandin commentedComment #4
das-peter CreditAttribution: das-peter commentedI took a slightly other approach since the patch from #1 seemed to remove the functionality
// If token outputs a link (like the Link field) lets parse out the url.
.