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


Quick Go »
Thread Status: Normal
Total posts in this thread: 2
[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 41 times and has 1 reply Next Thread
FacDevTeam
New Member



Joined: Jan 19, 2017
Posts: 1
Status: Offline

Edit this Post   Can Localendar be set to display a specific date range only? Reply to this Post
Reply with Quote
[Delete this Thread]

I am trying to use this calendar to only display events on two dates. I have followed the instructions found in a previous forum post, but it does not seem to be working. I want my calendar to display events on Feb. 1 and 2nd only in the Daily view.

I am using this HTML code:
<SCRIPT type="text/javascript" src="//localendar.com/public/FacDevTeam?style=D0&include=Y&start date= 2/1/2017"></SCRIPT>


When I use this code, the calendar still only displays the current date (1/19/2017).

What am I doing wrong?

Thank you!
Michelle
----------------------------------------
[Edit 1 times, last edit by FacDevTeam at Jan 19, 2017, 7:19:29 PM]
[Jan 19, 2017, 7:19:10 PM] [First IP: 96.234.148.140 - Last IP: 96.234.148.140] 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: 6016
Status: Offline
Edit this Post   Re: Can Localendar be set to display a specific date range only? Reply to this Post
Reply with Quote
[Delete this Post]

It sounds as if you are requesting a 2-Day style calendar view?
The code you are using will display a 1 Day-View for Feb 1 only.

Although we don't specifically have a "2-Day Event View", there is a kind of sneaky way you can make one by customizing our "Today+Happening Soon" view. Try this:

Go into Options->General and click the "Show More>>" link near the bottom of the General tab. Set the "Happening Soon looks ahead" value to 2 days.

You should also change the Today and Happening Soon labels to either Feb 1 and Feb 2, or something generic like Day 1 and Day 2.

Now, use this script instead on your site:

<SCRIPT type="text/javascript" src="//localendar.com/public/FacDevTeam?style=D2&include=Y&start date= 2/1/2017"></SCRIPT>

D2 is the code for the Today+Happening Soon view (you were previously using D0, the code for the Day view)

That's the best solution I can come up with - let me know how you make out.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Jan 27, 2017, 2:31:50 AM] [69.126.188.75] 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