I am using the Calendar module (http://drupal.org/project/calendar).

One of the default block (called Block) in the Calendar module gives you the option to embed a mini-calendar as a block on your site. I would like this mini-calendar to show a future month instead of current month.

Does anybody know how to do it?


  • usually this block has a view controlling its output, try checking that view first.
    – saadlulu
    Commented Aug 6, 2012 at 19:45
  • @saadlulu I did. I could not find anything to there that allowed me to adjust the month displayed.
    – Stealth
    Commented Aug 6, 2012 at 19:54

2 Answers 2


You can adjust the Contextual Filter for this block. Instead of providing a default value of "Current date" you can set it to "PHP Code" and use the following:

return date('Y-m',strtotime('+1 month'));

Screenshot of contextual filter


Maybe it is still actual. Just change date in contextual filter WHEN THE FILTER VALUE IS NOT AVAILABLE Provide default value to Y-m format (PHP - return '2014-02', Fixed value - 2014-02).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.