Please enable JavaScript to view this site.

 

Navigation: Tokens > MiniCalendar Tokens > Modifiers

Minicalendar Current Week Offset Modifiers

Scroll Prev Up Next More

Add Current Week Minicalendar Offsets minicalendar modifier to a minicalendar token to shift the contents of a minicalendar a given number of weeks with respect to the current week (as determined by the DayValue of the minicalendar token).

 

In the example below, the minicalendar tokens [1mc+00:-2w] use the :-2w Current Week Minicalendar Offsets minicalendar modifier to produces a minicalendar which always starts 2 weeks before the current week, thus displaying the current week always in a fixed position.

 

 

To get the result above, in the minicalendar options, you need to remove the hide setting of fully outside week numbers and you need to set the options to show outside days , including fully outside weeks, as shown below, so that all the dates before the month are displayed.

 

 

Note that you do not need to put any tokens in the shaded textbox, since, by definition, the current week it highlights will always be in the same position.

 

See also: other minicalendar modifiers and date offset suffixes.

 


Topic 179760, last updated on 01-Aug-2020