Links do not work for sites installed in webroot subdir

GoofyX - January 12, 2008 - 22:32
Project:Role Contact
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:zxombie
Status:closed
Description

Attached is a patch that fixes the 'profile' and 'contact form' links to work in all cases, including Drupal installations under a subdirectory of webroot. It simply uses the url() and l() API functions to create these links.

AttachmentSize
rolecontact_links.patch902 bytes

#1

dlane - January 13, 2008 - 00:55
Assigned to:Anonymous» dlane

Thanks very much for this, GoofyX!

I'll just give it a quick test and perhaps do a quick rollout later this afternoon.
Cheers,

Dave

#2

zxombie - January 14, 2008 - 09:42
Assigned to:dlane» zxombie
Status:needs review» fixed

I've fixed this in CVS. I don't have a Drupal installation under a subdirectory handy so haven't been able to test it but it should work.

#3

GoofyX - January 15, 2008 - 22:59

Thanks zxombie, it works fine!

#4

zxombie - January 27, 2008 - 19:40
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.