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.

CommentFileSizeAuthor
#2 568214_contact.patch795 bytesAnonymous (not verified)

Comments

philingle’s picture

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

Anonymous’s picture

StatusFileSize
new795 bytes

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

caktux’s picture

Status: Needs work » Fixed

Committed, thanks Simon! We could also remove the link, this theming function is fugly..

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 6e40763 on master, 7.x-2.x, 7.x-3.x by caktux:
    #568214 by simonc: proper link to contact page when checking...