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.
Open follow in _blank should be an option in settings. It is simple but major - don't let left our Drupal sites! Please consider this - I know, that we can overraid it, but why not make this module better?
Comments
Comment #1
q0rban CreditAttribution: q0rban commentedHi! I know this is frustrating, but target="_blank" is not valid html. Please use a module like External module, or override theme_follow_link in your theme.
Comment #2
defconjuan CreditAttribution: defconjuan commentedSee http://drupal.org/node/1271874#comment-7067010 for a solution that does not require the external module or hacking the follow module.
Comment #3
sdmaxey CreditAttribution: sdmaxey commentedSince the target tag has been un-deprecated in html5 and is once again valid html ("The target attribute of the a and area elements is no longer deprecated, as it is useful in Web applications, e.g. in conjunction with iframe." http://www.w3.org/TR/html5-diff/ ), and since the External module still doesn't have a stable version for D7, is it possible to reconsider this request for the Follow module?
Comment #4
sdmaxey CreditAttribution: sdmaxey commentedComment #5
bryanbraun CreditAttribution: bryanbraun commentedAgreed. I support the original decision not to use
target="blank"
and the interrim solution, but now that it's valid in html5, I think it makes sense to at least have it as an optional setting in the module. My clients expect this functionality when linking to social media profiles, and I doubt I'm alone.For reference: http://stackoverflow.com/questions/4198788/is-it-alright-use-to-target-b...
Comment #6
Mzambrana CreditAttribution: Mzambrana commentedtemplate.php
Comment #7
defconjuan CreditAttribution: defconjuan commented@Manel-emfasi thanks for a modified version of the code from comment #2 that's not Bootstrap specific.