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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

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

Removing Content from Archive Pages


Go to End


1938 Views

Avatar
juneallison

Community Member, 110 Posts

25 August 2011 at 4:02am

So, out of the box, if you enter a description(text) on the blog holder ...this also shows on all of the archive pages (ie, if you view all posts for a certain tag)

Is there a way to prevent this from showing on these other pages and only have it show on the blog holder/landing page? It seems like an if statement around $content in BlogHolder.ss would work but I need to know what to use in the if statement.

Any help would be great. Thanks!