We can use a custom initial date, nice. But how that date could be relative?
With an relative date it shoud be possible to show some the next month and even the month after the next.
I'm looking for an solution to show more than one month. An 3-month view would be nice and maybe I could create 3 views and use a custom initial relative date to show 3 diffrent month at all.

But maybe there is a better solution for an 3 month display. Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mmtt’s picture

now ideas?

Spanners’s picture

Issue summary: View changes

The ability to show multiple months of calendar items seems to be a reoccurring one, and one that still doesn't have a solid solution.

mmtt you have a great idea here. Setting a relative initial date would mean you could create a bunch of links to FullCalendars displaying items in the future of past. It would also be better than this solution (which I couldn't get to work) because it would load quicker.

liquidcms’s picture

what the title is asking for (allow relative dates) and what the description are asking for (show multiple months) are not the same thing.

but, going with the title this changes the checkbox in Views settings where we can pick to set an initial default date to be either static or relative.

also, i couldn't get git patch to work cleanly so i have simply attached the 1 file that has the change.

liquidcms’s picture

Title: How to use a custom initial date for a relative date? » Support relative dates for initial date.
Version: 7.x-2.0-rc1 » 7.x-2.x-dev
Category: Support request » Feature request
Status: Active » Needs review

changed title, status, etc

gisle’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
2.79 KB

Great job liquidcms! It works as advertised.

I've re-rolled the .txt-file from #3 into a regular patch that should be applied against the current 7-x.2.x-dev snapshot. This patch is attached.

semanthis’s picture

one step further would be to make it possible to use a token from the first row, so that the initial month that shows up is actually the first one containing datas. Does anyone have an idea how to do this?