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.
We wanted the ability to utilise thickbox to open links within a sort of popup. The attached patch allows this by placing something like "KeepThis=true&TB_iframe=true&height=620&width=800" into the new "extra url parameters" field, and placing a class of "thickbox" into the existing class field.
Comment | File | Size | Author |
---|---|---|---|
link_extra_url_params.diff | 2.62 KB | singularo | |
Comments
Comment #1
quicksketchIf you need to add additional parameters when displaying the URL, you need to make a custom CCK formatter for links and add this data on output.
Comment #2
sokrplare CreditAttribution: sokrplare commented@quicksketch - we need this functionality and would like to continue using the Link module. I was trying to decide between updating this patch against 7.x-dev or making a new contrib module to add this (will have to see if that's possible). Do you have a preference?
Comment #3
sokrplare CreditAttribution: sokrplare commentedIgnore this - just started working on the contrib module in a sandbox and realized there was already support for URL params being added to the link. Our URL was just surfacing through an old version of flexslider which had the issue.