I'm using an almost fresh install of Drupal with my own custom theme wich has some external links directly into it (to twitter profile, for example). The site is located in the root folder of my domain, nothing special in the configuration. As the title says, External Links is not working at all for me. Things I tried:

External links in different parts of the site: nodes, blocks, theme
Regex patterns: none at all, correct matching pattern for certain link
HTML links: automatically build by the drupal core, manually written html links

One weird thing I noticed is the envelope icon that should appear in the config page of the module is not shown. Anyway, I don't think the problem is caused by an error in css or something like that because the external links into my site neither have the extra css classes.

Regards and thanks in advance.

Comments

quicksketch’s picture

You should check that the extlink.css and extlink.js files are being added to the page, and that no JS errors are showing in your browsers error console. Any JS errors will prevent the JS from running properly (which in turn will prevent the CSS from affecting links).

NoRandom’s picture

Status: Active » Fixed

Sorry for the delay, after changing the site server everything is fine, so I asume it was its fault.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jenlampton’s picture

Title: External Links not working at all » External Links (apparently) not working at all
Status: Closed (fixed) » Active

I ran into this exact same problem. I installed extlinks module on Drupal 7.22 and none of my external links had icons. The CSS and JS files were both correctly added to the page, and there were no javascript errors.

As it turns out, this module will not work if you have styled the external links to be display:block. The code specifically looks for links styled display:block and WILL NOT ADD ICONS if that is the case.

If you are wanting icons on links that are display:block you can add them yourself. This module will still add a class of ext to your external link anchor tags, but you will need to add your own CSS and images (I stole the ones provided by this module).

elachlan’s picture

Status: Active » Closed (works as designed)