I use lightbox for displying images from my different projects into drupal. I would prefer not to get the message warning that is external link as far as it opens in the lightbox. Can this be controlled from the settings? or directly from the code?
thank you
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | external_exclude_lightbox_links-438918-4466474.patch | 460 bytes | steveoliver |
| #11 | external_exclude_lightbox_links-438918-4466364.patch | 452 bytes | steveoliver |
| #6 | external.js-exclude-lightbox.patch | 625 bytes | steveoliver |
Comments
Comment #1
quicksketchCould you provide a link to your site? I'm not sure how you can have a link that opens in lightbox but is external at the same time.
Comment #2
nomachinez commentedHey there. Thanks for the module. It really helps the usability for both the visitor and the site owner!
For my images that use lightbox, I have to set "rel" to "lightbox" in the link properties. Can you exclude links with that property?
Comment #3
redijedi commentedPerhaps the admin screen could be ammended with an "ignore links with attribute/values like this..."? That would also help with lightbox integration.
Comment #4
vm commentedqueue cleanup:
OP didn't respond to maintainers comment. I've extlink and lightbox2 installed and can't replicate as such at this time the issue is likely fixed.
Comment #6
steveoliver commentedAttached patch, diff'ed against external-6.x-1.9, fixes the issue for me.
-Steve
Comment #7
steveoliver commentedIt is *external* lightbox links that we want to exclude from External Links' affects.
Comment #8
summit commentedSubscribing, greetings, Martijn
Comment #9
steveoliver commentedAny reason not to apply this patch to the module?
-Steve
Comment #10
quicksketchIn my opinion this patch is much too specific. The use-case already is very obscure (the link has to be external AND be opened in a Lightbox? Who does that?) and it wouldn't help users of any other *box implementations (colorbox/thickbox/highslide).
Comment #11
steveoliver commentedMakes sense.
For those that want to open external links in lightbox links, new -p1 format patch attached.
Comment #12
steveoliver commentedSame as #11, but for 1.9.
Assigning to myself and settings closed (works as designed).
Comment #13
mfoda commentedWell considering that the lightbox modules are becoming pretty popular would you consider #3's suggestion if it's feasible? I'm currently using colorbox D7 version and am running into the same problem.
Comment #14
mfoda commentedActually never mind. I thought only regexes can be used and not specific urls. Should have read around a bit more.
Thanks anyway