A description of the Sueetie Announcement Control and how it leverages YetAnotherForum.NET for advanced functionality. The Announcement Control is included in the
Sueetie Premium Edition.A Sueetie List View Control Plus
The Sueetie Announcement List View Control is designed to display community news with full HTML text display and WYSIWYG editor, attached image display and file downloads. It supports these advanced features because it leverages the services of YetAnotherForum.NET. The Announcement Control is much like the Sueetie Forum Topic List View Control, but adds message, images and attached files. Here's a screenshot.

The Announcement List View images support lightbox display using your favorite plugin as shown below.

Leveraging YetAnotherForum.NET
As we mentioned, the Announcement Control leverages YetAnotherForum.NET extensively. YetAnotherForum.NET was perfect foundation for the control, since almost every community has an Announcements forum and each YetAnotherForum.NET post supports advanced functionality like rich WYSIWYG editing, attached image display and file downloads. The Announcement Control can be thought of as your community's Announcements Forum displayed outside of YetAnotherForum.NET. Here you see the same announcement shown above in its native YetAnotherForum.NET format.

The Announcement Control displays any forum you select as your "Announcements" forum. You can also, of course, display multiple forum lists on a single page and can theoretically display your entire community forum anywhere on your site. The Announcement Control uses Sueetie-specific handlers and other logic that bypasses YetAnotherForum.NET's internal permission rules. So you could designate a restricted or hidden forum for your Announcement Control if you don't want the content to appear on your forums.
The great thing about the Announcement Control is that we're using YetAnotherForum.NET for all management of our announcement content as you can see in the screenshots below.


HTML Editing
A quick point on HTML Editing. YetAnotherForum.NET supports several choices of editors. To display HTML content in the announcement body you will need to choose one of the HTML editors for the user entering the announcements instead of a BBCode-based editor.
Using the Control
While the Announcement Control has some advanced features not found in other List View Controls, it is still the familiar Sueetie List View, using an .ASCX template you specify in your THEME "Views" directory. The control is dropped onto a page like other List View Controls.

Notice the "ForumID" property. The ForumID determines which forum you wish to display. A quick YAF tip on obtaining the Forum's ID is by observing the forum's URL in YetAnotherForum.NET. The Forum ID is displayed for you in the Url. The ForumID for the Sueetie.com Announcements folder if I wished to use it would be "2."

For completeness, here is the Announcement Control .ASCX Views Template used in the example. It's like all other List View Templates with the exception it has two ASPNET Repeater Controls to display the attached files and images.
Product Keys and Feature Freedom¶
The Announcement Control is included in the
Sueetie Premium Edition. Sueetie Premium License Keys are available in
the Sueetie Marketplace.Top