Calendar color

kwerdenker

Senior Member
Apr 1, 2010
1,451
2,533
0
Probably the Zooper Forums
I'd like to color events for current day. Right now its colors my next event which is days away.

Ideas are appreciated.
Use the following code as an advanced parameter on your calendar text field and put in the color you want to use as highlight:
Code:
$#C0SddMM#=#DddMM#?[c]<the_highlight_color_you_want[/c]$
If you display more than one event, you need to use this code on every module and replace C0 with C1, C2, ...
 

admiral70

Senior Member
Dec 15, 2006
167
11
0
Thank you for the reply. Here is my dilemma, when it still highlights the next event even if it is not the current day. I was hoping to highlight only if the event is in the current day. Hope I am explaining this correctly.

Thank you for replying I appreciate it.

Use the following code as an advanced parameter on your calendar text field and put in the color you want to use as highlight:
Code:
$#C0SddMM#=#DddMM#?[c]<the_highlight_color_you_want[/c]$
If you display more than one event, you need to use this code on every module and replace C0 with C1, C2, ...
 

kwerdenker

Senior Member
Apr 1, 2010
1,451
2,533
0
Probably the Zooper Forums
Thank you for the reply. Here is my dilemma, when it still highlights the next event even if it is not the current day. I was hoping to highlight only if the event is in the current day. Hope I am explaining this correctly.

Thank you for replying I appreciate it.
This is exactly what the code is doing! It checks if the event dayMonth combo equals to todays dayMonth combo and only if that is true it sets the color of the text to the set highlight color.
 

admiral70

Senior Member
Dec 15, 2006
167
11
0
Decided to get your calendar from your signature... Thank you

Perhaps that is the issue I need to mimic the advanced entry a little?

Use the following code as an advanced parameter on your calendar text field and put in the color you want to use as highlight:
Code:
$#C0SddMM#=#DddMM#?[c]<the_highlight_color_you_want[/c]$
If you display more than one event, you need to use this code on every module and replace C0 with C1, C2, ...
This is exactly what the code is doing! It checks if the event dayMonth combo equals to todays dayMonth combo and only if that is true it sets the color of the text to the set highlight color.
 
Last edited: