| View previous topic :: View next topic |
| Author |
Message |
tcsmedes
Joined: 26 Apr 2006 Posts: 2
|
Posted: Wed Apr 26, 2006 Post subject: Calendar Select Box |
|
|
| Is it possible to turn off the calendar select box (make it so it doesn't display) on tab 0 but it still works on tabs 1 and 2? If so which file do I need to edit? |
|
| Back to top |
|
 |
tcsmedes
Joined: 26 Apr 2006 Posts: 2
|
Posted: Wed May 03, 2006 Post subject: Bump |
|
|
| Anybody have any thoughts on this???? |
|
| Back to top |
|
 |
gengwall
Joined: 20 Apr 2006 Posts: 23 Location: Minnesota
|
Posted: Fri May 05, 2006 Post subject: |
|
|
Well, I think the simple solution is to change the option $options{all_calendars_selectable} in plans_config.cgi to 0. I believe then that the only calendar that will show up is the one currently being viewed. But maybe it doesn't work that way. So...
Pretty easy.
1. Open up plans.cgi.
2. Find the calendar controls section of the "display_default" subroutine. This should be around line 1104 if you have not changed any code in this file previously. Look for the section which displays the calendar selection. It begins with the line:
<div class="calendar_select" style="margin:5px;padding:2px;float:left;text-align:left;">
3. Just add the following to the inline style of the above div tag:
"visibility:hidden;"
Now, I don't know what that will do to the display of the rest of the calendar controls, but it will hide the selection box.
Good luck |
|
| Back to top |
|
 |
|