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, biapar, Willr, Ingo, simon_w

Blog archive problem found and fixed


Reply

747 Views

Avatar
Bruce B

5 November 2008 at 1:06pm Community Member, 145 Posts

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:
http://nfaw.org/blog/

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.

cheers
bruce