PDA

View Full Version : Category views


dan_cameron
08-31-2005, 08:36 PM
I know you can have a category selector but what about a calendar with only one or two categories.

What I want to do is create a calendar that has administrative categories and event categories. Then I would like to have a calendar for non-administrators and administrators. I can always hide the admin calendar in a password protected directory or just give them access to edit the cal.. But what about the non admin calendar, the one specifically for events.

Thanks,
Dan

ve9gra
08-31-2005, 09:43 PM
That's what the showCat variable (http://docs.easyphpcalendar.com/Customize/Command-line%20Variables.htm) is for.

Just add it with the categories you want shown just before the require() that displays the calendar.