Viewing By Entry / Main
December 7, 2005

Thanks to feedback from Steven Erat Rob Gonda and Jacob Munson, I've made a few updates to the BlogCFC Monthly Archive Pod I released yesterday. So, what's changed? Here's a short list:

  • Removed references to dbo. and {fn} for MySQL compatability. Note that I have only tested the pod on SQL Server, so if you are running it on a different DB platform, let me know if there are any problems.
  • Removed scope chaching as it was interfering with the propper passing of url variables.
  • Added logic to keep selected month displayed in dropdown and made it possible to select current month.
  • Changed /tags path to /blog/tags, not /blogs/tags for generic distribution. My site uses a different layout and directory structure, so for my setup, I had to make changes. I'll try to keep future changes and pods generic for Ray's base implementation.

You can download the latest version here. As always, suggestions are appreciated.

Comments
Steven Erat's Gravatar Rob, not to put a damper on your enthusiasm, as I'm sure everyone appreciates your effort, but currently your SELECT field width exceeds the menu width, so its sticking out to the right by about 75 pixels (Wow, I can eyeball a pixel count... I must be soooooo anal :). I'm looking at it with FireFox 1.5 on Mac OSX. FF1.0 on Windows looks ok. The view source on my SELECT field looks the same as yours, and mine shows up ok.

Just figured it out. The dashed line that you have as the first option is forcing the field width to increase. The font looks larger in in FF1.5/Mac than FF1.0/Win.

I decided to embed the calendar pod with the archivedmonthpod functionality just because I like the way it looks with fewer small pods.
# Posted By Steven Erat | 12/7/05 1:33 PM
Rob Brooks-Bilson's Gravatar Thanks Steven,

I've been noticing CSS issues between some of the different browsers/os/versions lately. I have FF 1.5 on Windows, and it looks ok. I'll go in and take out most of the dashes in just a sec.

One thing I'm having a tough time with is testing changes across all the various platforms these days, given that I really only have access to a Windows machine.

Ray and I had a discussion about integrating the archive directly into the calendar, but I opted not to this time around because I've seen a lot of people dropping the calendar lately.
# Posted By Rob Brooks-Bilson | 12/7/05 3:22 PM
Jacob Munson's Gravatar I got this to work in my blog. For MySQL, I had to change 'tblBlogEntries' to 'tblblogentries', it's case sensitive. Also, I had to put in cfoutput tags because you have enablecfoutputonly=true.

Thanks again, Rob!
# Posted By Jacob Munson | 12/13/05 3:26 PM
Rob Brooks-Bilson's Gravatar Check out Steven Erat's implementation within the calendar control. I may end up doing this as well to save space. Ray suggested it previously, but I didn't want to do it at the time because I didn't want to couple the two bits of functionality.
# Posted By Rob Brooks-Bilson | 12/13/05 3:30 PM
John Barrett's Gravatar Hi,
I got this to work, but there is no pull down menu. Is there a way to fix this? It is located at:
http://www.johnbarrett.net/blog/
Thanks,
JOhn
# Posted By John Barrett | 5/25/06 4:07 AM
Rob Brooks-Bilson's Gravatar Hi John,

Looking at your generated HTML, it looks like the FORM and SELECT tags are missing. Did you remove any code from the pod?
# Posted By Rob Brooks-Bilson | 5/25/06 9:32 AM



Copyright 1995-2008 Rob Brooks-Bilson. All rights reserved.
Aura skin for Raymond Camden's BlogCFC inspired by Joe Rinehart & Steven Erat. This blog is running version 5.5.1.