Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Blog archive problem found and fixed

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

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

Page: 1
Go to End
Author Topic: 695 Views
  • Bruce B
    Avatar
    Community Member
    145 Posts

    Blog archive problem found and fixed Link to this post

    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

    695 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.