I can't tell from the calendar module help if it is possible to have event info appear on mouseover as I can with 'Easy PHP Calendar 6' (See a site we designed with that calendar at http://www.lighthousebenicia.org for an example.) Am I expecting too much from the CMSMS Calendar module?
--Donald
Calendar module capabilities
-
dlpirl
Calendar module capabilities
Last edited by dlpirl on Thu Nov 29, 2007 4:20 pm, edited 1 time in total.
-
cyberman
Re: Calendar module capabilities
Hi Don,
think it should possible. You have "only" to ajaxify the calendar templates.
think it should possible. You have "only" to ajaxify the calendar templates.
-
dlpirl
Re: Calendar module capabilities
Ah, here's my opportunity to get into ajax
. Are there any CMSMS docs to help me with 'ajaxification'? 
--Donald
--Donald
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Calendar module capabilities
well it's not that hard..... xmlhttp is quite simple with cms..... you just have to create the url.
the url would be like:
http://www.mysite.com/index.php?mact=Ca ... am2=value2
That will return you just the results of that one module action, and then you can do whatever you want with that output in javascript.
I would suggest you start with creating a funky detail template that just returns the details of what you want to throw in the javascript tooltip/popup thingy.... and test it by using a made up url that matches the example given above directly in your browser. If that works, then go ahead with the javascript stuff.
The one issue you will have, is getting the eventid into a javascript variable that you can later use to build the url you need.
This can be done by putting some carefully crafted javascript into the summary template you created above.... using {literal} and {literal} tags to isolate the javascript from the smarty code.
I've done similar things for the FLVPlayer module.
the url would be like:
http://www.mysite.com/index.php?mact=Ca ... am2=value2
That will return you just the results of that one module action, and then you can do whatever you want with that output in javascript.
I would suggest you start with creating a funky detail template that just returns the details of what you want to throw in the javascript tooltip/popup thingy.... and test it by using a made up url that matches the example given above directly in your browser. If that works, then go ahead with the javascript stuff.
The one issue you will have, is getting the eventid into a javascript variable that you can later use to build the url you need.
This can be done by putting some carefully crafted javascript into the summary template you created above.... using {literal} and {literal} tags to isolate the javascript from the smarty code.
I've done similar things for the FLVPlayer module.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
cyberman
Re: Calendar module capabilities
Think ajaxification like I mean can be done by
http://bassistance.de/jquery-plugins/jq ... n-tooltip/
http://bassistance.de/jquery-plugins/jq ... n-tooltip/
-
dlpirl
Re: Calendar module capabilities
oooo cool I like it and will definitely look into using this approach. Thanks!
