Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
Total posts in this thread: 4
[Change thread status] [Delete this Thread] [Move this Thread]
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 512 times and has 3 replies Next Thread
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6395
Status: Offline
Edit this Post   Hide events from previous/next month Reply to this Post
Reply with Quote
[Delete this Thread]

This is a small enhancement, but one that's been asked for frequently.

Some members don't want to see past events for the last few days of the previous month. These show up at the beginning on the month-block view sometimes when those days are used to fill-out the calendar.

Likewise, they don't want to see events for the day or two (or three) that may show up for next month.

Add the parameter current_only=Y to your month-block calendar link, and you will only get the events for the current month.

For example:

http://www.localendar.com/public/sample?current_only=Y

or (if you are using other parameters such as with an embedded calendar)

<SCRIPT language="Javascript" src="http://www.localendar.com/public/sample?include=Y&style=M0&current_only=Y"> </SCRIPT>

(Basically, if you are only passing in 1 parameter to your calendar link, it starts with a question mark. If you are passing in multiple parameters, the first one starts with a question mark, and the rest all start with an ampersand)
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Jul 13, 2009, 5:27:56 PM] [67.86.148.33] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
PBCCalendar
New Member



Joined: Oct 20, 2008
Posts: 3
Status: Offline

Edit this Post   Re: Hide events from previous/next month Reply to this Post
Reply with Quote
[Delete this Post]

As you state in your post, it applies for the 'Current' month. This is great but, is there any way you could clear these filler days for the month being viewed - past, current, or future - not just the 'Current' month?
[Aug 31, 2009, 9:18:10 AM] [72.73.35.188] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6395
Status: Offline
Edit this Post   Re: Hide events from previous/next month Reply to this Post
Reply with Quote
[Delete this Post]

Probably, there is smile
The issue is that the setting isn't being saved when you move to a different month, but I'm sure that's something we can do. We'll have a look.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Sep 4, 2009, 12:36:26 AM] [67.86.148.33] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
ParkwaySchoolPTA
New Member



Joined: Aug 17, 2009
Posts: 7
Status: Offline

Edit this Post   Re: Hide events from previous/next month Reply to this Post
Reply with Quote
[Delete this Post]

I'd love this functionality as well. Parents in my PTA are getting confused by previous/next month events being included in the month view and their printouts.
[Sep 4, 2009, 9:57:49 PM] [71.167.112.172] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us