[horde] Public cal. task colors

John H. Bennett III bennettj at thebennetthome.com
Wed Nov 29 09:26:23 PST 2006


Bill or someone,

Would you mind confirming something for me.  I tested this as well on 
the 2.0.6 version of Kronolith.  I found that the users still have the 
option to change the colors. If you set the categories to locked, then 
users can't create any categories. If you set category_colors to 
locked, then all categories are saved as the default color.

I did find that I could create locked admin-level defined categories 
for all users by modifying horde/lib/Horde/Prefs/CategoryManager.php, 
and horde/templates/prefs/categorymanagement.inc.  If someone else can 
confirm this as well, then maybe we can create an enhancement request 
to add the ability to be able to create categories that users can not 
change/modify/update.  That way a consistent set of categories and 
colors could be used by all.

I haven't tested this on the 2.1x, but a quick look seemed to show that 
the behavior would be the same.

Thanks,

John Bennett

> Quoting Bill Graham <grahamcw at hurleybulldogs.com>:

> No
>
> No
> I just use the default Catagoriees as defined in prefs.
> It seems more intuitive it the Calendar's owner would define and  
> control the catagory - but it doesn't sem to work that way - at least 
>  for me. Running a several month old CVS
>
> // categories
> $_prefs['categories'] = array(
>     'value' => 'Business|Holiday|Persoal|Sporting Event|School Event',
>     'locked' => false,
>     'shared' => true,
>     'type' => 'implicit'
> );
>
> // category colors
> $_prefs['category_colors'] = array(
>     'value' =>  
> 'Business:#FF60DC|Holiday:#990400|Persoal:#DBDB00|School  
> Event:#ffa523|Sporting  
> Event:#42ffc4|_default_:#FFFFFF|_unfiled_:#DDDDDD',
>     'locked' => false,
>     'shared' => true,
>     'type' => 'implicit'
> );
>
>
> Bill
> -- 
> Bill Graham
> Systems Administrator
> Hurley Public Schools
> Hurley,SD 57036
> USA
> http://www.hurleybulldogs.com
> grahamcw at hurleybulldogs.com
>
>
>
> Quoting dhottinger at harrisonburg.k12.va.us:
>
>> So you basically have 3 events, which correlates to 3 pref entries   
>> for each event?
>>
>> ddh
>>
>> Quoting Bill Graham <grahamcw at hurleybulldogs.com>:
>>
>>> For me to get the Catagories to colorize in my public calendar I had
>>> to put the catagories in the horde/config/prefs.php
>>>
>>> http://webmail.hurleybulldogs.com/webmail/kronolith/month.php?display_cal=ba33e8a1648df5d690d61e7d200adbdd
>>>
>>> I figured since it was a guest/anonymous user  using it - there were
>>> not preferences associated with the user - as catagories seem to be
>>> associated with iindividual users.
>>>
>>> Bill
>>>
>>> -- 
>>> Bill Graham
>>> Systems Administrator
>>> Hurley Public Schools
>>> Hurley,SD 57036
>>> USA
>>> http://www.hurleybulldogs.com
>>> grahamcw at hurleybulldogs.com
>>>
>>>
>>>
>>> Quoting dhottinger at harrisonburg.k12.va.us:
>>>
>>>> Hmm,
>>>> It isnt working Chuck.  Here you can see the public calendar      
>>>> http://newproxy.harrisonburg.k12.va.us/horde/kronolith/month.php?display_cal=llineweaver.  As you can see no events in the calender are colored.  Unless we are doing something wrong.  Incidently, everyone really likes the new version of horde.  Good      
>>>> work.
>>>>
>>>> ddh
>>>>
>>>>
>>>> Quoting Chuck Hagenbuch <chuck at horde.org>:
>>>>
>>>>> Quoting dhottinger at harrisonburg.k12.va.us:
>>>>>
>>>>>> We have users that use public the record their schedules on    
>>>>>> public   calendars (quite a few actually).   Our older version   
>>>>>> of  horde   (2.x  and kronolith 1.x), public calendar events had 
>>>>>>    color, on the   latest  stable version all events are white,  
>>>>>>  even  if users give   the events  a color before they create   
>>>>>> them.   Logged in, colors   show, public no  colors.  Also, on   
>>>>>> our old  webmail a users public   calendar actually  showed only 
>>>>>>   their  events, not all public cal.   events.  My question  is 
>>>>>> 2   fold.   Can I get public cal. events to   have color, and 
>>>>>> can    users  public cal. have seperate URL's?  Im   using Horde 
>>>>>> 3.1.1,   Imp  H3  4.1.3, mnemo H3 2.1,Tasks H3 2.1,   Kronolith 
>>>>>> H3  (2.1.2).
>>>>>
>>>>> Colors are controlled by each individual user. If your users set a
>>>>> color for the categories being used for the public events, then that
>>>>> color will show. You can set defaults for categories and colors in
>>>>> horde/config/prefs.php.
>>>>>
>>>>> -chuck
>>>>>
>>>>> -- 
>>>>> "we are plastered to the windshield of the bus that is time." - Chris
>>>>> -- 
>>>>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>>
>>>>
>>>>
>>>> -- 
>>>> Dwayne Hottinger
>>>> Network Administrator
>>>> Harrisonburg City Public Schools
>>>>
>>>> -- 
>>>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>>
>>>
>>> ----------------------------------------------------------------
>>> This electronic  mail sent from Hurley Public Schools - Hurley, 
>>> South Dakota
>>> http://www.hurleybulldogs.com
>>>
>>> NOTICE: This E-mail (including attachments) is covered by the Electronic
>>> Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may
>>> be legally privileged. If you are not the intended recipient, you 
>>> are hereby
>>> notified that any retention, dissemination, distribution, or 
>>> copying of this
>>> communication is strictly prohibited. Please reply to the sender that you
>>> have received the message in error, then delete it. Thank you.
>>
>>
>>
>> -- 
>> Dwayne Hottinger
>> Network Administrator
>> Harrisonburg City Public Schools
>>
>> -- 
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
> ----------------------------------------------------------------
> This electronic  mail sent from Hurley Public Schools - Hurley, South Dakota
> http://www.hurleybulldogs.com
>
> NOTICE: This E-mail (including attachments) is covered by the Electronic
> Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may
> be legally privileged. If you are not the intended recipient, you are hereby
> notified that any retention, dissemination, distribution, or copying of this
> communication is strictly prohibited. Please reply to the sender that you
> have received the message in error, then delete it. Thank you.
>
>





More information about the horde mailing list