Page 1 of 1

[Modification] Darker lunchtime area

PostPosted: Thu Sep 25, 2014 9:54 am
by teaaddict
Hi There,

I'm looking for a bit of advice regarding a largely cosmetic modification: a shaded out lunchtime area. I've attached a quick mock-up of what I mean.

I expect that there is no straightforward way to do this, but I thought I'd just check if anyone else has done this successfully, or has any ideas?

thanks!

Re: [Modification] Darker lunchtime area

PostPosted: Thu Sep 25, 2014 11:53 am
by jeffalmquist
Try modifying the conditional formatting on the CalendarContentReptCalc field to this (the first line is what's already there, so just add the second line):

PatternCount ( $$sc_Mode ; "Sched" ) and CalendarRows::RowNumber = $$sc_RowsForAllDayEvents + 1
or Hour ( GetAsTime ( CalendarRows::TimeDisplayCalcs ) ) = 12

Then for the darker gray border, select the CalendarBlankRepsGlob field (1 px high at the bottom edge of the portal), and add the following two lines to the SECOND conditional-formatting rule:

or GetAsTime ( Extend ( CalendarRows::TimeDisplayCalcs ) ) = Time ( 11 ; 45 ; 0 )
or GetAsTime ( Extend ( CalendarRows::TimeDisplayCalcs ) ) = Time ( 12 ; 45 ; 0 )

Let me know if that does the trick. -Jeff