links not working

Everything related to your website and the Beds24 widgets
Post Reply
Epicea_old
Posts: 74
Joined: Wed Mar 21, 2012 3:14 pm

links not working

Post by Epicea_old » Wed Apr 11, 2012 1:01 pm

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.

markkinchin
Site Admin
Posts: 896
Joined: Fri Mar 02, 2012 1:43 pm

Re: links not working

Post by markkinchin » Fri Apr 13, 2012 7:25 am

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.

Epicea_old
Posts: 74
Joined: Wed Mar 21, 2012 3:14 pm

Re: links not working

Post by Epicea_old » Sat Apr 14, 2012 9:14 am

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.

markkinchin
Site Admin
Posts: 896
Joined: Fri Mar 02, 2012 1:43 pm

Re: links not working

Post by markkinchin » Sat Apr 14, 2012 9:49 am

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.

amberbb
Posts: 125
Joined: Tue Mar 20, 2012 10:12 pm
Location: Centre of New Zealand - sunny Nelson!
Contact:

Re: links not working

Post by amberbb » Sat Apr 14, 2012 9:50 pm

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?
Amber House Limited trading as AMBER HOUSE - at the centre!™
Mobile: +64 21 202 4961
Phone: +64 3 539 0605
Fax: +44 70 05 96 34 37
http://www.AmberHouse.co.nz
Amber House, 46 Weka Street, Nelson 7010, New Zealand

markkinchin
Site Admin
Posts: 896
Joined: Fri Mar 02, 2012 1:43 pm

Re: links not working

Post by markkinchin » Sun Apr 15, 2012 11:59 am

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.

amberbb
Posts: 125
Joined: Tue Mar 20, 2012 10:12 pm
Location: Centre of New Zealand - sunny Nelson!
Contact:

Re: links not working

Post by amberbb » Sun Apr 15, 2012 8:54 pm

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...
Amber House Limited trading as AMBER HOUSE - at the centre!™
Mobile: +64 21 202 4961
Phone: +64 3 539 0605
Fax: +44 70 05 96 34 37
http://www.AmberHouse.co.nz
Amber House, 46 Weka Street, Nelson 7010, New Zealand

markkinchin
Site Admin
Posts: 896
Joined: Fri Mar 02, 2012 1:43 pm

Re: links not working

Post by markkinchin » Mon Apr 16, 2012 10:44 am

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.

Epicea_old
Posts: 74
Joined: Wed Mar 21, 2012 3:14 pm

Re: links not working

Post by Epicea_old » Mon Apr 16, 2012 8:13 pm

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.

Post Reply