What's New on home page

rated by 0 users
This post has 4 Replies | 3 Followers

Not Ranked
Posts 7
Points 125
cafe Posted: Tue, Apr 22 2008 6:14 AM

 The 'What's New' feature on CS2007 worked well because it showed the title in large font and users could quickly see recent additions and uploads. For a corporate site which has more emphasis on document sharing and less on forums and posts etc, this is more accessible than the 'activity tracker' in CS2008 which, whilst perhaps showing more info, is harder to quickly digest. I appreciate that the CS2008 approach has it's own strengths and I'm sure good reasons behind it.

However  - Is it possible to modify / change this in CS08, to adopt the CS07 approach to 'what's new' on the home page ? Secondly is it possible to customise this to not show, say, forum posts.

Thanks

 

Top 10 Contributor
Posts 3,424
Points 65,735
CS Developers
Ben Tiedt replied on Tue, Apr 22 2008 7:54 AM

You can edit the Common/home.aspx page in any of the themes to modify the content of the home page.

The following configuration of the <CSControl:IndexPostList /> control will return the 10 latest posts from the blogs and media gallery applications:

<CSControl:IndexPostList runat="server">
 <QueryOverrides PageSize="10" PageIndex="0" CacheMinutes="5" ApplicationTypes="Weblog,MediaGallery" SortBy="DateDescending" />
</CSControl:IndexPostList>

You can further customize the way this data is rendered by customizing the control's rendering templates.

Ben Tiedt's Blog

  • | Post Points: 20
Not Ranked
Posts 7
Points 125
cafe replied on Tue, Apr 22 2008 8:10 AM

 Ben - thanks for that - much appreciated.

 

  • | Post Points: 20
Not Ranked
Posts 35
Points 545
jelpesao replied on Wed, Apr 23 2008 11:58 PM

Where in the home.aspx page would we insert this code?  I had the last 5 blogs on my home page before and trying to get the same on CS2008.

Also is there anyway to show who is online on the home page as well?

 

  • | Post Points: 20
Top 10 Contributor
Posts 3,424
Points 65,735
CS Developers
Ben Tiedt replied on Thu, Apr 24 2008 8:57 AM

jelpesao:
Where in the home.aspx page would we insert this code?
 

If you want to share a single "home" view with all of your users, I'd suggest clearing the contents of each of the <asp:Content>...</asp:Content> controls and starting from scratch -- the home.aspx page in CS2008 will look a little more complicated than most because it renders different content for different users.

If you do clear the contents, you'll also want to remove the <script runat="server">..</script> from the top of the home.aspx page.

jelpesao:
Also is there anyway to show who is online on the home page as well?

Yes.  This can be done using the <CSControl:UserOnlineList />

Ben Tiedt's Blog

  • | Post Points: 5
Page 1 of 1 (5 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com