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

quicksketch’s picture

My 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.

webservant316’s picture

is 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.

webservant316’s picture

More 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.

quicksketch’s picture

I 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.

webservant316’s picture

Thanks. 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.

quicksketch’s picture

Status: Active » Closed (fixed)