Relative hrefs and shadow effect

NathanRAFT - January 8, 2008 - 14:05
Project:Cluetip
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I am having the problem of not knowing how to create relative hrefs have to use /drupal1/node/207 so I tried using php. When using hrefs as the demo details, drupal seems to block the shadow effect (works in demo). Using a php built link does enable the shadow but to get that to work the rel must be the full length url and but then the cluetip link is clickable taking me to the url.

print l("Cluetip pulling from helptip node", "node/207", array("class"=>"cluetip-stay", "title"=>"Bioreg Help", "rel"=>"http://openbioraft.com/bioreg/node/207"))

vs.


<a class="cluetip-stay" title="Help" href="/drupal1/node/207" rel="/drupal1/node/207">Cluetip pulling from helptip node</a>

Any ideas on how to 1. make the urls in the href relative (to subdirectory) instead of absolute, 2. make the shadow effect work without linking to the url?

 
 

Drupal is a registered trademark of Dries Buytaert.