Hi, I'm trying to get all the announcements from all users to show up on the front page.
Is there a control I can use, such as: <QueryOverrides runat="server" QueryType="AnnouncementsForAccessingUser" PagerID="AnnouncementsPager" PageSize="15" /> but for all users rather than just "accessing" user?
I've also looked at coding something myself, but I cannot find the correct method/class to call in the API. Can I access "announcements" from the API?
Thank you,
Boyan
Your best bet is going to be to show the last 15 activity messages for announcements, however this will only allow you to display the titles of announcements.
To do this, ou'll want to have a look at the CSControl:ActivityMessageList control, and make sure to set QueryType to SiteActivity, and the included ActivityMessageTypes to Announcements.
There should be an example of an ActivityMessageList on the homepage, and you can refer to developer-options/chameleon/control-documentation/Control.aspx?type=CommunityServer.Controls.Messages.ActivityMessageList%2c+CommunityServer.Controls for more reference
CS Documentation | Nintendo Wiikly
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com