Availability - allowing visitor to create reservation - mised something ?!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pidou46
New Member
New Member
Posts: 5
Joined: Thu Nov 06, 2008 4:34 pm

Availability - allowing visitor to create reservation - mised something ?!

Post by pidou46 »

Hi,

I try to setup "Availabitlity" to allow online registration of houses.

I found in help :

"To display a calendar view, you can add the tag {Availability action=calendar} to a content page. This will provide a sufficient system for allowing visitors to create reservations, etc..."

But when I try it, the link redirect me to the "Day report" not to the "Reservation form" as I espect ! even if I registred in FEU.

http://bandasdecajarc.lescigales.org/cmsms/index.php?page=reservation

I have look at the template but I don't understand what to modify to make it work !

I mised something ?

pidou46

PS: I could help in french translation ( i'm not a linguist!)
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Availability - allowing visitor to create reservation - mised something ?!

Post by Jeff »

When I last used it noticed that as well, I didn't look into it because my client didn't want to have online reservation.

My simple work around for testing was to put {Availability action=addresvn} in a new page. I didn't look into incorporating it into the calendar.
cenzo
New Member
New Member
Posts: 3
Joined: Sat Feb 10, 2007 12:59 pm

Re: Availability - allowing visitor to create reservation - mised something ?!

Post by cenzo »

hi, look at the function  GetReservationURL in the file Availability.module.php

try to change :
$txt = $this->CreateURL($id,'dayview',$pageid,$params,false,$prettyurl);
to
$txt = $this->CreateURL($id,'addresvn',$pageid,$params,false,$prettyurl);

and
$txt = $this->CreateURL($id,'dayview',$pageid,$title,$params,'',false,false,'',false,$prettyurl);
to
$txt = $this->CreateURL($id,'addresvn',$pageid,$title,$params,'',false,false,'',false,$prettyurl);

i don't know if this change brokes something or not, i'm trying now...
trevtrev
New Member
New Member
Posts: 8
Joined: Tue Jul 14, 2009 12:44 pm

Re: Availability - allowing visitor to create reservation - mised something ?!

Post by trevtrev »

Hi
Would like to confirm that it works on the calendar.
But the client must be logged in so the Self Registration module needs to be installed. At least I think.
Thanks for the help.

Regards
Post Reply

Return to “Modules/Add-Ons”