PDA

View Full Version : Mini version of the calendar


bashfield
04-27-2009, 02:10 PM
I'm looking to create a persistent short list of events in the right column of my site that will link to a big list of monthly events. i don't want to use the pop-ups or hovers.

See http://riverdalecommunitycenter.org/

Is there a way to get the links in the short list to automatically link to the correct month in the big list?

Brian
04-27-2009, 03:14 PM
You site looks like what you've described what you want to do? You want to link to a month or display a particular month in List Mode? Should the page only show one month or multiple?

bashfield
04-27-2009, 03:21 PM
Hi Brian, thanks for looking at this. I would like each event in the short list to automatically link to the corresponding month in the big list. If you click on the actual calendar, this automatically happens (i'm not sure how). But, with the individual events, it only happens because I manually pasted in the correct url in the admin tool. My client will not be able to do this once I hand off the site and they start making updates. Can I use some code to determine the month and year of each short list item and then pass that variable along in the link to the big list page?

Brian
04-27-2009, 03:29 PM
There isn't a function that does this automatically.

You could use the [date] description parser function to pass the date of the event. Then use PHP on the list page to decode this date and separate the month/year to set the mo and yr variables before displaying the list.

bashfield
04-27-2009, 03:33 PM
Thanks, Brian. Unfortunately I am no programmer. Do you have some examples i could cut and paste from?? Much appreciated.

-Ben

Brian
04-28-2009, 09:26 AM
I tried to program this in an easy way, but there was a snag, so it'll be a little more complicated than I first thought. If you really need this to work and you'd want a custom program solution, open a support ticket so we can discuss the details.