Jump to:

1845 Posts in 1601 Topics by 560 members

Blog Module

SilverStripe Forums » Blog Module » Tag Filtering Not Working

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 844 Views
  • Garrett
    Avatar
    Community Member
    245 Posts

    Tag Filtering Not Working Link to this post

    Hi,

    I recently installed the latest Blog module (v. 0.2.1) on SS v.2.3.2 and I just noticed that the tag filtering isn't working. When you append "?tag=foo" onto the URL, the same resultset appears, no matter what the tag, and the message "No blog entries found with that tag" NEVER appears. ALL blog entries are being returned no matter what...

    I noticed that the function tag(), which used to be Tag() [with a capital] has changed. This calls ShowTag(), which then uses "Director::urlParam('Action') == 'tag'" to determine whether a tag has been selected. But Director::urlParam('Action') isn't returning Anything, let alone "tag". Anyone have the tag filtering working in this new version of the Blog??

    Any help would be greatly appreciated.

    Thanks,
    Garrett

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Tag Filtering Not Working Link to this post

    ?tag=foo is incorrect. The blog module uses the format - blog/tag/tagname rather then passing it the query string

    844 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.