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.

Archive /

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

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

How to set up children under a blog archive?


Go to End


2 Posts   2038 Views

Avatar
Louie

Community Member, 9 Posts

2 July 2008 at 1:39am

Ok, straight to the point. When you get the archived items under a specific blog archive (i.e. all blog entries for a particular month), how do you set it so that it becomes the dates' children? I need this because I'm planning to let the users see what articles are in for a particular month in the archive widget. I believe that this makes my website cleaner and more user-friendly. You can check out my silverstripe site here.
Thanks in advance!

Avatar
Sam

Administrator, 690 Posts

7 July 2008 at 3:04pm

you probably want to overload the Children() method.