Category: VBScript

Calendar improved

I added a bit more functionality to the calendar, disabling the forward and next links if you've reached the end of the posts. This prevents someone from going all to the way to Jan 2003 or back to Jan 2001 if there in fact, aren't any posts there.

Done with a few simple If statements and date manipulations.

0 comments | Posted by Daniel Short on Oct 7, 2002 at 12:00 AM | Categories: Blog Development - VBScript -

Got the categories working

You can now filter posts by Category on the blog. You can have any number of categories, a post can be assigned to multiple categories, and you can completely disable a category (this doesn't disable the posts, but only keeps the category from showing up in the nav).

All in all it works pretty slick, working in combination with the week/day/month filter, so you could show all Blogdev posts for the month of September or the second week of August. It required doing some custom work on the keepURL functions that MM uses to keep Querystring parameters, but it's worked out pretty good if I do say so myself.

3 comments | Posted by Daniel Short on Oct 4, 2002 at 12:00 AM | Categories: Blog Development - VBScript -

Calendar success?

I found a freebie calendar script on ASP101 that didn't have any database connectivity, and hacked it up to add my own. I was having issues with any solution that already had a database attached, as their db schema was different than what I was using. Ended up being easier to add my own hooks in there.

Anywho, if you have comments on the calendar, I'd love to hear them. You can filter by Month, Week or Day by clicking the appropriate link. Pretty slick if I do say so myself.

The calendar is currently hidden in the Ashleep style, simply because I'm not sure how I want to place it yet.

10 comments | Posted by Daniel Short on Oct 1, 2002 at 12:00 AM | Categories: Blog Development - VBScript -