Evanced Solutions Support Center

Login / Register

User

Pass



Forget pass?

Search KnowledgeBase

 

KnowledgeBase

Main > Events
Minimize Text   Default    Enlarge Text
 

How do I setup widgets on my Event Calendar website?


Print
Save to list
E-mail
Comment (0)
Subscribe
Created 2008-05-28
Modified 2008-06-16
Views
Author

Setting up Event Calendar Widgets on your website

A little about Event Calendar Widgets

The Event Calendar widgets will allow you to take basic Event Calendar functions and integrate them into your current website. You can do this with a few cuts and pastes.  So let’s get started.

First things first: You should test the examples directly before trying to integrate them into your website. After editing the path in these example files, run them as they are to verify the connection and your edits.

tinycalexample.zip:  contains tinycalexample.html which shows how to use tinycal.asp file to display a small calendar on your webpage that will redirect patrons to your main event calendar website.

eventslistexample.zip:  contains eventsdisp.html, eventsdisp_desc.html and eventsdisp_desc_scroll.html which show how to use eventsxml.asp file to display a small sampling of the events on your webpage that can redirect patrons to your main event calendar website.

searchpartsexample.zip:  contains searchpartsexample.html which shows how to use searchparts.asp file to display a small event search box on your webpage that will redirect patrons to your main event calendar website.

These files can be found at: http://support.evanced.info/index.php?action=file_library&folder=2

 

So we need to figure out what to do with all the code in the .HTML file.  

There are two lines of text to be edited in the tinycalexample.html file but all the rest only have one line. These lines are the path to your event calendar. In the case of the tiny calendar the two lines (located near the bottom of the file) are:

 <script type="text/javascript" src="http://evanced.info/evanceddemo/lib/tinycal.asp?monthcount=2&divid=eventstinycal"></script>

 <script type="text/javascript" src="http://evanced.info/evanceddemo/lib/tinycal.asp?monthcount=1&monthoffset=2&divid=eventstinycal2&target=_blank"></script>

The “http://evanced.info/evanceddemo/lib/” should be replaced by the path to your event calendar system.

What’s Next?

Once the example files work with your events calendar you can start editing your library’s web pages to include this code. Just copy the code out of the example files and include them as needed in your library’s web pages.

You can even mix-and-match. There is nothing wrong with including a tiny calendar and a search box on you page together or any combination of these objects. So be creative and have fun with it!

 

 

 

 

 

 




Comments (View All Comments / Add Comment)

Related Articles
Events XML Client Side Example
The following code is for example only. It is up to the web developer to determine how he/she wants to handle the XML data. This software is provided "as is",...
How do I setup Widgets on my Summer Reader website?
Setting up Widgets on your Summer Reader website A little about Summer Reader Widgets The Summer Reader 2009 widgets will allow you to take basic Summer...
Desktop Icons for Internet Shortcuts.
To create Internet shortcuts on your desktop: - Navigate to the page you want to add a shortcut for. - Right-click on the web page (in the white space) and...