Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Common Repeater View modes: 
User avatar
Member
Member
ars - 8/3/2011 6:19:15 AM
   
Common Repeater
Hi all
Can you advice how can implement common repeater we part which
would display Latest Blog Post, Latest News, Latest Page Manu Items etc.

I mean Want to display any latest CMS Document or some types of documents with datetime order.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 8/4/2011 5:27:59 AM
   
RE:Common Repeater
Hello,

The usual approach is to select a repeater and select all the mentioned document types to be displayed. If you need a different transformation per document type you can check the ProductDataList web part which is configured on our sample site in the Products section. There are the transformations defined the following way:

{%classname%}.default

So every document has it's own transformation with the name default. The ordering of the items can be achieved by a simple Order By expression:

<column name> <ordering>

Where for the <column name> usually is used DocumentModifiedWhen or DocumentCreatedWhen and for <ordering> ASC or DESC.

Best regards,
Boris Pocatko

User avatar
Member
Member
ars - 8/10/2011 5:45:24 AM
   
RE:Common Repeater
Hi,
Thanks for reply.

Where is your sample site?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/10/2011 5:55:33 AM
   
RE:Common Repeater
Hi,

If you install Kentico software there is a possibility to install default Corporate site. It contains Example section in the content tree where are working examples. How to install this site is described here.

Best regards,
Ivana Tomanickova