[EventCalendar] Formatting Output

Dave Sabol desabol at gmail.com
Thu Oct 12 00:57:43 UTC 2006


Hi All,

With what I put you through with my plug-in conflict, I wouldn't doubt
you shudder just seeing my name...everybody has to be good at
something, I guess I am good at being a pain in the...

Anyway.

When I was using 3.0.4 I was able to figure out how to limit what I
was displaying in terms of date ranges etc., but with this version I
am a bit uncertain...

What I want to do is two-fold:

First on the widget, I want to have two separate date ranges appear.
The first I want to appear is Todays Events. I'd like to have a header
appear that says todays events and then list all events for today. I
am thinking that part is easy to do.

Then below it, under another header, I'd like to display the weeks
events. Again, I know I can get the week number from php <?php
date('w') ?>, and can compare it against the dates of my events. That
might be heavy in terms of throughput and server load...so I'd be
happy to show the next x days of events (lets say 5 days), again, I
could use the current date and simply add my variable to it. Again
doable, but I'm not sure how hard it would be.

Now onto the category page. What I would like to do is limit the
events as well. Perhaps have them broken out by month. I would
obviously use a customized wp template to pull it off, but what would
I do to make it all work? Could I use some of the functions that
already exist or would I have to add my own query / code.

I am not a php genius, far from it, I am just getting my arms around
the possibilities. That said, I have been coding in .asp for over 10
years, so I am sure I could muddle my way through it. I think a lot of
folks would love to have some of the same flexibility /
functionality...hence why I am submitting it to the mailing list.

I know Alex and Darrell are both busy...but if you can give me a start
perhaps I could put something together.

Thanks
Dave
desabol at gmail dot com



More information about the EventCalendar mailing list