Closed (fixed)
Project:
External Links
Version:
6.x-1.9
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2010 at 14:43 UTC
Updated:
13 Aug 2010 at 15:20 UTC
Enable extlink and got errors on my pages. This error from IE
Message: Unexpected quantifier
Line: 27, Char: 5, Code: 0
URI: http://mydomain.com/sites/all/modules/extlink/extlink.js?Z
Also then when in the extlink admin area I could not expand the pattern matching area. I got into it once, but could not get in again. Perhaps it is related, I had entered the pattern match of '*\.jpg$'. I was hoping that links to images would open in a new window. Does pattern matching only apply to the domain name or to whole URL?
Comments
Comment #1
quicksketchMy guess is that a pattern you entered contained an error, causing the JavaScript to fail. External links should match on the full URL, so I believe that your attempted solution should work fine, even though it's a bit of a misuse of the module.
Comment #2
webservant316 commentedis there a problem with the pattern match of '*\.jpg$' ?
I didn't see the '$' in the help text on your admin page, but assumed you used standard regex pattern matching.
Comment #3
webservant316 commentedMore problems with this module. My date popups break with this module enabled. It may be that my pattern match is problematic, but disabling and reenabling the module doesn't seem to allow me to expand the pattern area anymore. It is locked shut so I cannot even change the pattern match if it is in error.
So either my pattern match is set to a problem value that is causing all the other problems, or the module his having conflicts with the rest of my config, or there are bugs in the module.
Comment #4
quicksketchI can't reproduce any of these problems, I'm guessing a module conflict of some sort. If you can provide steps to reproduce a problem from a clean Drupal install I'd be happy to take a look, but as it is this seems to be specific to your site.
Comment #5
webservant316 commentedThanks. You are probably right. My real goal was to find a means to configure filefields that are uploaded to open in a new browser window. I done some research and noticed a number of people wishing that feature was built into core. I was hopeful that your module would be the solution, even though it is not really to primary purpose of your module. If you learn of a better solution for my need let me know.
Thanks again.
Comment #6
quicksketch