Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Scrolling News View modes: 
User avatar
Member
Member
thubbert-pas - 6/22/2009 4:31:19 PM
   
Scrolling News
Is their an easy way to have the scrolling news webpart be able to scroll the latest 5 news items and 3 latest events/webinars posted on the site in one webpart? I have the scrolling news working fine with the 5 latest news items but need to have it also show the 3 latest events/webinars.

Thanks

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 6/25/2009 6:10:19 AM
   
RE:Scrolling News
Hi,

could you please explain us if you would like exactly 5 news item and 3 latest events mixed together ordered by their e.g. release date? Or it could be 5 news and below them 3 events?

Best regards,
Helena Grulichova

User avatar
Member
Member
thubbert - 6/25/2009 5:11:00 PM
   
RE:Scrolling News
Either is fine. My first preference is 5 news items and 3 latest events mixed together and ordered by their release date.

User avatar
Member
Member
kentico_pavelk - 7/1/2009 1:28:52 PM
   
RE:Scrolling News
Hello,

You can use Repeater with custom query. You can get appropriate data from the database. All you need is to write simple SQL query to get 5 latest news and 3 lastest events and then sort them by some criterion.
The repeater with custom query web part is described in our documentation. Please a link to it below.
http://devnet.kentico.com/docs/webparts/Kentico_CMS_WebParts.htm#_ffc1b214-e29f-4571-9a58-5efe59f21292


Best Regards,
Pavel Knotek