twesley
Newbie
Posts: 1
Registered: 1/24/2004
Member Is Offline
|
| posted on 1/24/2004 at 03:19 PM |
|
|
One Cal View with Multiple Cal Events
Can we use PHP Event Calendar to have multiple group Calendars and users can choose what calendars they want to view only. The events would show up
on one calendar?
Thanks,
TW
|
|
|
kvv
Super Administrator
Posts: 85
Registered: 6/17/2003
Member Is Offline
|
| posted on 1/26/2004 at 10:05 AM |
|
|
If you want to give a chance to users to choose calendar by name you can
make HTML form like the following:
<form method="post" .....>
<select name="cal_name">
<option value="calendar_name1">calendar_name1</option>
<option value="calendar_name2">calendar_name2</option>
.....................................
</select>
</form>
Where calendar_name1, calendar_name2 are name of calendars which you have
created.
and then call show_calendar finction like this :
<?
show_calendar($HTTP_POST_VARS["cal_name"]);
?>
|
|
|