Maybe this is what you are looking for. With help from Dan O
and others on this forum this piece of code will diplay a drop down list of calendars and the user will only see the calendars they have permission to view in the list. If they don't have permission, it won't show up on the list. Anyway, here is the code. Add it to the default.html file for the template you are using.
Keith
<!-- ADDED for link to each calendar -->
<% $cal_db = new DBFile($main::calendars_db); %>
<% $calendars = $cal_db->getRecords( {} ); %>
<form method="POST" style="font-family: Arial; font-size: 10pt" name="calendar_change">
<SELECT NAME="cal_select" size="1" onChange="window.open(this.options[this.selectedIndex].value
,'_top')">
<option selected>Choose a Calendar</option>
<% foreach $cal (sort {$a->{name} cmp $b->{name}} @$calendars)
{
next unless ($User->hasPermission($cal->{'key'},"VIEW"));
%>
<option value="<%= $CGI_URL %>?calendar=<%= $cal->{key} %>"><%= $cal->{name} %></option>
<% } %>
Add whatever html code above the box you need to describe it's contents.