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!)
Availability - allowing visitor to create reservation - mised something ?!
Re: Availability - allowing visitor to create reservation - mised something ?!
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.
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.
Re: Availability - allowing visitor to create reservation - mised something ?!
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...
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...
Re: Availability - allowing visitor to create reservation - mised something ?!
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
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