craigh / PostCalendar

PostCalendar is a calendar module for the Zikula Application Framework
20 stars 9 forks source link

FR: category color in monthly overview #110

Open MrMontesa opened 8 years ago

MrMontesa commented 8 years ago

I saw that you also implemented color coding of categories which is great. I'd like to request a small feature to have the color code reflected in the "montly overview". I have to admit I'm used to it since TimeIt offers this feature and it nicely seperates the teams we have in our club. In case you'd like to see what I mean check my club's website. Let me know if I can be of any help. Thanks much

craigh commented 8 years ago

Already there. See http://www.westernbands.net/calendar/display

MrMontesa commented 8 years ago

Awsome! I havent found any setup howto or setting in admin area. Can you share 2 scentences who to set this up? Even sample event on PostCal installation did not contain any hints. Only saw the color attribute. Thanks for your help.

craigh commented 8 years ago

just add the colors, I think. I really can't remember

MrMontesa commented 8 years ago

Hmm, thats what I did already. And the color is properly shown in the event popup, but not in monthly overview.

MrMontesa commented 8 years ago

Compared the CSS of my page woth the one you referenced. Only differfence I can see in monthly view is:

.pccategories_10019, .pccategories_selector_10019 {
    background-color: #ff8888;

With a reference to display:50.

I think I properly configured colors as they appear in the popup window. But not on the monthly main view. Attaching a screenshot where I added yellow as category color: left the popup showing color. right the monthly view w/o color. pc_cat_coloring

Any idea how to get this going? Thanks much for your help.