Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Newsletter Archive Group by year? View modes: 
User avatar
Member
Member
gatsby0121 - 8/25/2011 4:46:58 AM
   
Newsletter Archive Group by year?
I've seen nested repeaters, but how can I apply that to the newsletter archive?

I'd like to group them by year, so

2009
Newsletter
Newsletter
Newsletter

2010
Newsletter
Newsletter
Newletter

etc...

Is this possible?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 8/25/2011 6:18:01 AM
   
RE:Newsletter Archive Group by year?
Hello,


you can modify the code of Newsletter web part as you need. You can for example use one repeater for each year and add Where conditions to select only the appropriate nesletters.

You can find the original code in:

~\CMSWebParts\Newsletters\NewsletterArchive.ascx

I think the nested repeaters will not be helpful in this case.


Best regards,
Helena Grulichova