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 287 times and has 3 replies Next Thread
boborg
New Member



Joined: Jun 11, 2012
Posts: 1
Status: Offline

Edit this Post   Can I define a date range? Reply to this Post
Reply with Quote
[Delete this Thread]

I was thinking of using the localendar Wordpress plugin to show a calendar for the Olympic Games on my homepage.

Is it possible to limit the calendar to show only July and August?
[Jun 11, 2012, 12:12:29 PM] [62.107.169.68] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Sep 15, 2004
Posts: 6027
Status: Offline
Edit this Post   Re: Can I define a date range? Reply to this Post
Reply with Quote
[Delete this Post]

Well maybe sorta ;-)

Technically, an interactive calendar will always have the arrows to move forwards, backwards. However you could use the non-interactive calendar style, and add a start-date parameter to only jump to specific months. I would probably use links.

For example, this would be a link just to July and Aug calendars:
http://www.localendar.com/public/sample?start_date=7/1/2012
http://www.localendar.com/public/sample?start_date=8/1/2012

In the WP plugin, you could set up the 2 links this way:

1. Enter your localendar member name
2. select the "A link to a full page view of my calendar
3. Make sure you include some Link Text for your link
4. Add the extra arg "?start_date=7/1/2012"
(do the same for a link to 8/1/2012)

You can add links for different, specific weeks or days as well.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Jun 11, 2012, 2:06:52 PM] [24.190.17.62] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
singersjazzworkshop
New Member



Joined: Dec 9, 2014
Posts: 1
Status: Offline

Edit this Post   Re: Can I define a date range? Reply to this Post
Reply with Quote
[Delete this Post]

Hi - I'm trying to do this too... Display a specific date range ONLY.

Our workshop only happens once a year, so all we need to display is June 2015.

I tried appending the suggested arg type for the static view as follows... but it doesn't seem to be working.

<SCRIPT type="text/javascript" src="https://www.localendar.com/public/singersjazzworkshop?include=Y?start_date=7/1/2015"></SCRIPT>

PLEASE HELP!!!
[Dec 9, 2014, 5:26:39 PM] [82.239.13.61] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Sep 15, 2004
Posts: 6027
Status: Offline
Edit this Post   Re: Can I define a date range? Reply to this Post
Reply with Quote
[Delete this Post]

Soooo close smile

In HTML, only the first parameter starts with a "?". All the rest start with a "&".
So this should work:

<SCRIPT type="text/javascript" src="https://www.localendar.com/public/singersjazzworkshop?include=Y&start_date=7/1/2015"></SCRIPT>
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Dec 10, 2014, 8:28:27 PM] [24.189.166.198] 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