1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Tags are not listed on Blog Summary page
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 503 Views |
-
Tags are not listed on Blog Summary page

9 March 2011 at 12:43am Last edited: 9 March 2011 12:49am
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><p class="tags">
Tags:
<% control TagsCollection %>
<a href="$Link" title="View all posts tagged '$Tag'" rel="tag">$Tag</a><% if Last %><% else %>,<% end_if %>
<% end_control %>
</p>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!
| 503 Views | ||
|
Page:
1
|
Go to Top |

