Page 1 of 1

links not working

Posted: Wed Apr 11, 2012 1:01 pm
by Epicea_old
I can never seem to get links to work, mostly anything just takes me to the last page in the control panel I was using. For example,

https://www.beds24.com/control.php?sube ... ing=XXXXXX

Just takes me to the last page I was at. It means bookmarks don't work and some links from our own admin system don't work.

Not a big deal but odd.

Re: links not working

Posted: Fri Apr 13, 2012 7:25 am
by markkinchin
Most links and web browser bookmarks within the Beds24 control panel will not work.
Bookmarks can only store the URL of the page. The control panel also uses session variables which are not part of the URL.
This is why reopening the control panel from a bookmark will not necessarily take you back to the expected page.

Re: links not working

Posted: Sat Apr 14, 2012 9:14 am
by Epicea_old
It would be really useful if the links to bookings by reference did work and could be used in the mails we get on booking and embedded in our other management system that uses the beds24 data.

Re: links not working

Posted: Sat Apr 14, 2012 9:49 am
by markkinchin
Epicea wrote:It would be really useful if the links to bookings by reference did work
There is actually a URL that works for bookings.
The following format will go straight to the booking:

https://www.beds24.com/control.php?bookid=12345

The number at the end must be the booking id and naturally you can only see your own bookings.
The cute thing about this URL is that even if you are not logged in it will ask you to log in first and then take you directly to that booking.

Re: links not working

Posted: Sat Apr 14, 2012 9:50 pm
by amberbb
Neat idea.

We always want to use the Calendar view
https://www.beds24.com/control.php?page ... lendarlist
as our homepage in Beds24.com but, as you know this view keeps reverting to
this page which, from our perspective, we never wish to use:
https://www.beds24.com/control.php?pagetype=proplist

You might think this is a minor irritant, but when we're busy and over the course of a day of always having to make another click and waiting for our "homepage" to load again, this becomes a major annoyance.

Any way to make this page sticky - or a toggle to choose which Beds24.com page to time-out to?

Re: links not working

Posted: Sun Apr 15, 2012 11:59 am
by markkinchin
amberbb wrote: We always want to use the Calendar view
https://www.beds24.com/control.php?page ... lendarlist
as our homepage in Beds24.com but, as you know this view keeps reverting to
this page which, from our perspective, we never wish to use:
https://www.beds24.com/control.php?pagetype=proplist
I was not aware that was happening. When you login the control panel should be opening the last page you viewed before logging out.

As a test I just tried viewing the calendar page, logging out and logging back in and I was taken immediately to the calendar again.
I also tried closing the browser without logging out and then going back in via http://www.beds24.com and this worked as well.

Does this not work for you?

Can you let me know what specific sequence of events causes it to revert to the properties page on login and I will try and fix it.

Re: links not working

Posted: Sun Apr 15, 2012 8:54 pm
by amberbb
markkinchin wrote: I was not aware that was happening. When you login the control panel should be opening the last page you viewed before logging out.
If that is the intention, then that works as intended for us too, Mark - even if you immediately log in from a different machine to the one you logged out from.

Our beef is that, when you have logged in and left your desk with the calendar showing, if you come back after some hours and hit the "Today" button to update with any new bookings, you find the properties page will display rather than (an updated) calendar.

I had assumed that this was as a result of a cookie expiring, so I will try and determine what length of time elapse is required to exhibit this consistent behaviour...

Re: links not working

Posted: Mon Apr 16, 2012 10:44 am
by markkinchin
amberbb wrote: if you come back after some hours and hit the "Today" button to update with any new bookings, you find the properties page will display rather than (an updated) calendar.
OK I was able to recreate this. After waiting some hours for the session to time out - If I hit refresh in the browser it re-opens the calendar page but hitting the today button opens the property page.

I have now updated the calendar form so it re-opens the calendar page even if the session has timed out instead of defaulting to the property page.

Re: links not working

Posted: Mon Apr 16, 2012 8:13 pm
by Epicea_old
markkinchin wrote:
Epicea wrote:It would be really useful if the links to bookings by reference did work
There is actually a URL that works for bookings.
The following format will go straight to the booking:

https://www.beds24.com/control.php?bookid=12345

The number at the end must be the booking id and naturally you can only see your own bookings.
The cute thing about this URL is that even if you are not logged in it will ask you to log in first and then take you directly to that booking.
that'll do it, I'll update our management system to use those links.