I've been testing out a new Drupal install in preparation of switching to Drupal from Joomla (many reasons, mostly related to being tired of waiting for actual advances in features that have been promised for over a year without any ACTUAL progress).
One module that I really was excited to see was the Wishlist module... it's exactly what I've been trying to make myself for Joomla recently. I have one problem though: when I enter a URL (say, to the Amazon.com page for an item) in the Primary URL field, the actual link of the item when viewed takes the form of "http://www.mysite.com/?q=http://url.of.item". It shows fine in the post itself, for example "See www.amazon.com/exec/obidos/tg/detail/-/b0009wpz...". Is there something special I have to do to make Drupal not think the Primary URL is relative to my Drupal base URL, which seems to be the case?
Comments
OK, so I'll respond to my
OK, so I'll respond to my own post.
I'd probably consider this a bug of some sort, but the links are fine if "Clean URLs" are on. I'm not sure that it's a good thing for the module to require Apache, mod_rewrite, AND clean URLs to be enabled. It's fine in my case, but certainly limits your audience.
As I only use clean URLs I
As I only use clean URLs I didn't see this problem in my testing - oops. I'd had the exact same problem pre-clean URLs with building primary and secondary links into my menu system to exteral sites, a problem which I never resolved without just switching to clean URLs.
Do you (or any others) know whether there is anything I can do within my module to allow links to external sites to work? I suppose I could stop using the l() call to prepare the links, but that would probably be inappropriate.
Scott (wishlist module author)