Jump to:

1855 Posts in 1609 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » Tags are not listed on Blog Summary page

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 629 Views
  • speedengineer
    Community Member
    4 Posts

    Tags are not listed on Blog Summary page Link to this post

    Hi there,

    For some reason, the tags for my blog do not show up on the blog summary page, but they do show up just fine on the actual blog page. See the example photos below:

    Tags are not listed on the summary page:

    Tags are correctly displayed on the actual blog entry page:

    A few weeks ago I explored this problem in the templates folder of the blog module, specifically BlogEntry.ss and BlogSummary.ss. Each file contains the following code to display the tags, respectively:

    <p class="tags">
       <% _t('TAGS', 'Tags:') %>
       <% control TagsCollection %>
          <a href="$Link" title="<% _t('VIEWALLPOSTTAGGED', 'View all posts tagged') %> '$Tag'" rel="tag">$Tag</a><% if Last %><% else %>,<% end_if %>
       <% end_control %>

    <p class="tags">
       <% control TagsCollection %>
          <a href="$Link" title="View all posts tagged '$Tag'" rel="tag">$Tag</a><% if Last %><% else %>,<% end_if %>
       <% end_control %>

    I tried using the "a href" line from BlogEntry.ss in place of the same line in BlogSummary.ss just to see if it made a difference, but still nothing showed up.

    Has anyone else had an issue with this, or know of how I can fix it? I am new to CMS and Silverstripe, so any help would be greatly appreciated. Thanks!

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.