Hiding tabs in the Calendar's left hand side bar
6 posts
• Page 1 of 1
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am Location: SINGAPORE |
I would like to hide the 'Calendar' and "Setting' tab in the calendar's left had side bar. Can you advice how to achieve that ? Thank you
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
I have an idea here and will post back if I can get it working. Thanks, Simon.
John Sindelar
SeedCode |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hi Simon,
I'm not sure you'll want to hide the settings tab as without it there is no way to get to the Account Settings section of the calendar, but if you'd already entered your license--and you remember how to undo what follows--maybe that's ok. Add the following near the bottom of DayBack's CSS file, right above the line "/* !-- Additions Block Do Not Remove - More Classes --> */"
For those following along at home, more on editing CSS can be found here: http://www.seedcode.com/pmwiki/index.ph ... eMaker.CSS John Sindelar
SeedCode |
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am Location: SINGAPORE |
Thanks John.
My problem in showing the settings tab is the button Account Setting. I do not want any casual users to access update & documentation. If I were to keep the settings tab, is there a way for me to hide the Account Setting button if users do not have the access privileges ? |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Yes, you can easily hide the Administrator Settings button for individual users or by access roles. In the script "Load Calendar Settings - On Startup --- Edit Configuration Here ---" you'll find a comment "Show Admin Settings". The variable following that determines if the admin settings button shows up or not: simply wrap that variable in an if() that checks Get ( CurrentPrivilegeSetName )
=) John Sindelar
SeedCode |
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am Location: SINGAPORE |
Thank you John. All good now
|
6 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 2 guests