Contact us link on availability

AlpesInfo - September 4, 2009 - 11:25
Project:Reservations
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

When you check availability and it isnt available it writes a message in the 'Unit Availability' box saying

"Please contact us for availability"

with the "contact us" part being a link to http://website-domain.com/nous-contacter

There does not seem to be any way to edit this link without going into the code of the module. There needs to be some way to define the url of the contact page that this message links to, probably on the http://website-domain.com/admin/settings/reservations would be the best place.

#1

AlpesInfo - September 4, 2009 - 11:26

sorry i should have noted, the 'nous-contacter' is hard coded into line 692 of reservations.module

#2

simonc - September 6, 2009 - 00:52

Going to /contact should always work, even if the alias is different. No link if contact module isn't enabled.

AttachmentSize
568214_contact.patch 795 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.