Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Avoiding the login for administration

3 views
Skip to first unread message

Papachumba

unread,
Feb 25, 2010, 8:31:53 AM2/25/10
to Ajax Availability Calendar
I already have a login and users for my site.
I'd like to give each user the ability to modify their own calendars,
however i do not want them to go through 2 login processes.

How can I implement this easiest? Modify your login routines to lookup
my user tables instead (ie if my user logged in, display admin
interface, otherwise throw up an error)

Thanks

cbolson

unread,
Feb 25, 2010, 8:51:12 AM2/25/10
to Ajax Availability Calendar
Ah, this is what I mentioned in the previous post of yours.
You will want to integrate the "bookings" section of the calendar
admin into your current system.

> How can I implement this easiest? Modify your login routines to lookup
> my user tables instead (ie if my user logged in, display admin
> interface, otherwise throw up an error)

That is clearly an option, but I think that you will find that there
is a lot of stuff in the calendar admin that they won't actually need.

You really only need the "bookings.admin.php" file (adapted to your
system of course).
This file basically includes the calendar in the same way as the
"public" version, the only difference (other than things like the
"click through states" feature) is that it includes a different
calendar javsacript function file. Check the source code of the
bookings page in admin to see which one that is.

I'm afraid that it is quite hard to help you further without getting
into the nitty-gritty of the code.

I am availble for custom integrations so let me know if you need that
sort of help. However, I suspect that the actual coding part is not
going to be a problem for you.

Chris

Reply all
Reply to author
Forward
0 new messages