RE: Calendar Functionality
Jason, Sorry if I didn't make myself clear. The calendar as written highlights the current date (today's date) only and is linked to the master events calendar for that given week. What I would like to do is have all the dates active and linked to their perspective events. I have attached the entire code. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu slaba...@po-box.esu.edu ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Calendar Functionality
I have a calendar that works properly for what it was designed for. What I would like to do is have each date linked to the appropriate date on our master events calendar. This is the portion of the code that displays the current date and is linked to the week's events on the master calendar. Not sure how much of the code you need to see. !--- Highlight the current day of year using an IF-ELSE cfif (#ThisDay# EQ #currentday#) AND (#month# EQ #startmonth#) AND (#year# EQ #startyear#) td align=center bgcolor=##e1e1e1 cfset dayview = #dateformat(createdate(#year#, #month#, #thisday#), mm/dd/)# font class=calendartodaya href=http://esuevents.admin.esu.edu/wv3/wv3_servlet/urd/run/wv_main.Sta rtstrong#ThisDay#/strong/a/font/td cfelse td align=center cfset dayview = #dateformat(createdate(#year#, #month#, #thisday#), mm/dd/)# font class=calendar#ThisDay#/font/td Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu slaba...@po-box.esu.edu ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321701 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Calendar Functionality
Not sure what you're looking for Steve ... just the syntax for adding your 'dayview' value to the URL string? Also, as a side note, you can get rid of most of those # signs ... The following will add your computed date to the URL string in a 'safe' format, passing it as a variable called 'date': cfif (ThisDay EQ currentday) AND (month EQ startmonth) AND (year EQ startyear) td align=center bgcolor=##e1e1e1 cfset dayview = dateformat(createdate(year, month, thisday), mm/dd/) font class=calendartodaya href=http://esuevents.admin.esu.edu/wv3/wv3_servlet/urd/run/wv_main.Startdate=#urlEncodedFormat(dayview)#strong#ThisDay#/strong/a/font /td cfelse td align=center cfset dayview = dateformat(createdate(year, month, thisday), mm/dd/) font class=calendar#ThisDay#/font /td ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321704 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4