Want CGCalendar To Show week Only - Sunday-Saturday

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
govicinity
Forum Members
Forum Members
Posts: 125
Joined: Tue Nov 22, 2011 2:22 pm

Want CGCalendar To Show week Only - Sunday-Saturday

Post by govicinity »

1.10.3 Hyacinthe
CGCalendar 1.9.4
CGExtensions 1.28.1

I am wondering if there is a way to display only 7 (or 5) days rather than the whole month on CGCalendar? So just for Sunday-Saturday (or for the 5 day option Monday-Friday).

This would be a really useful option, or if somebody has already done something like this let me know how they achieved it. I'm building a website for a Yoga instructor and she doesn't want the whole month as her classes are the same every week.
Going up, woop, woop.
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm
Location: Delft, Netherlands

Re: Want CGCalendar To Show week Only - Sunday-Saturday

Post by mcDavid »

I've made a function for this (actually just changed the month-list), I can send it to you in PM if you want. It's kind of a module hack so I won't post it on the forum.
winkelman
Forum Members
Forum Members
Posts: 32
Joined: Sun Dec 19, 2010 9:05 pm

Re: Want CGCalendar To Show week Only - Sunday-Saturday

Post by winkelman »

Me too, please!
govicinity
Forum Members
Forum Members
Posts: 125
Joined: Tue Nov 22, 2011 2:22 pm

Re: Want CGCalendar To Show week Only - Sunday-Saturday

Post by govicinity »

Right, thanks to mcDavid I now have a list view of the week, this is good, but what I'm now after is effectively the same output as you get with the main calendar, but just for 7 days, Sunday to Saturday...

So from this:
Image

To this:
Image

Anybody got any ideas?
Going up, woop, woop.
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm
Location: Delft, Netherlands

Re: Want CGCalendar To Show week Only - Sunday-Saturday

Post by mcDavid »

I don't think my "hack" is suitable for that, because it's a copy of the list function, not the calendar function.
Post Reply

Return to “Modules/Add-Ons”