Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Blog archive problem found and fixed

Go to End


Bruce B

Community Member, 164 Posts

5 November 2008 at 1:06pm

I have loaded the blog module and the basic functioning was OK but I hit a snag.

The monthly archive links didn't work. The error was:
"Column 'Date' in where clause is ambiguous"

I changed the blogentries function in blogholder.php so $dateCheck used `BlogEntry_Live`.Date rather than just Date to identify the relevant posts.

Why I needed to to do this when it presumably works for everyone else, I have no idea.

The end result is here:

It still needs more work: an intro statement and the side menu when you are in an entry displays in the wrong order. That may happen today if I can find the time.