Contextlinks works wonderfully for local links. Yet, for fully-qualified links like this one

[?external:http://www.dmoz.org/ ODP]

I get this HTML code:

<span class="contextlinks contextlinks-external"><span class="contextlinks-text"><a href="?q=http://www.dmoz.org/" target="_blank">ODP</a></span> <a href="?q=http://www.dmoz.org/" target="_blank"><img src="modules/contextlinks/images/external.gif" alt="external"></a></span>

As you can see, I don't use clean urls (my ISP doesn't provide mod_rewrite), and I'm running drupal in a subdirectory, if this may be of interest.

jan

Comments

jhriggs’s picture

Assigned: Unassigned » jhriggs

This has been fixed in 4.4 and HEAD (1.0.2/2004081700). I made the link creation "smarter." It now checks to see if the URL has a scheme (i.e. http://, ftp://, etc.). If so, the link is used as is; otherwise, the URL is passed through the url() function to create proper Drupal links.

Anonymous’s picture