PDA

View Full Version : Admin Login


KarlGoddard
06-21-2004, 10:45 AM
Hi

I intend to use the ES Calendar in a 'secure' section of my website (using directory security) which would only be accesible by entering a username / password.

Is it possible to remove the Admin log in from the admin pages as any user accessing that particular section of the site will have already logged in.

This will make life a bit easier for the people who will be using my site - not having to log in twice etc.

I've had a look through the code on the admin/index.php page and got completely lost.

Any pointers would be great, thanks!

Cheers
Karl

tomB
06-21-2004, 12:56 PM
The calendar demo shows a method for doing this. The URL for entering the Admin area has the user name and password imbeded.

i.e.,

http://www.yourhost.com/escal/admin/index.php?name=escal&pwd=escal (http://www.easilysimplecalendar.com/v5/admin/index.php?name=escal&pwd=escal)

tomB

Brian
06-21-2004, 09:13 PM
There is one additional parameter that is needed depending on the type of database you're using.

If you're using a flat-file database, also add to the above:
&dataMode=f

If you're using a mySQL database, also add to the above:
&dataMode=s

[Only use one or the other]

That should do it! :D