phpScheduleIt
June 19, 2013, 07:06:25 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Reservation email url problem  (Read 351 times)
andyrav
Jr. Member
**

Karma: 0
Posts: 68


« on: February 15, 2012, 07:34:28 AM »

Hi
I think this following urls are incorrect in ReservationCreated.tpl as i am getting Object not found!

   <a href="{$ScriptUrl}/{$ReservationUrl}">View this Schedule</a> |
   <a href="{$ScriptUrl}/{$ICalUrl}">Add to Outlook</a> |

returns the following in the email
http://xxx/calendar/reservation.php?rn=4f3ba20b5d350
http://xxx/calendar/export/ical.php?rn=4f3ba20b5d350

can the user view the booking without loggin in?


Logged
quantumk9
Newbie
*

Karma: 0
Posts: 16


« Reply #1 on: February 15, 2012, 11:36:28 AM »

I am having the same problem. I have noticed that in the address bar the Web part is lower case i.e web, altering it to uppercase brings me to the login screen.  Is thats how it is supposed to be? Is {$ReservationUrl} rewriting the Web to web?

Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5506


WWW
« Reply #2 on: February 15, 2012, 12:21:06 PM »

This is also fixed and will be released shortly. The change is this. Change lib/Config/Configuration.php function GetScriptUrl() to:

Code:
public function GetScriptUrl()
{
$url = $this->GetKey(ConfigKeys::SCRIPT_URL);

return rtrim($url, '/');
}
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5506


WWW
« Reply #3 on: February 15, 2012, 12:22:26 PM »

Quote
can the user view the booking without loggin in?

Not currently. Do you need a non-authenticated view of the reservation?
Logged
andyrav
Jr. Member
**

Karma: 0
Posts: 68


« Reply #4 on: February 15, 2012, 12:24:58 PM »

yes that would be great please
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!