The BaseNewsModule type exposes the following members.
Properties
Name | Description | |
---|---|---|
AvatarSize |
Gets or sets Avatar size - 1 to 80 for gravatars.
|
|
CategoryFilterId |
Gets or sets category filter for the news module (Defined by the personalization settings).
|
|
CategoryId |
Gets or sets selected news category id (Defined in the url query parameters).
Note: CategoryId is ignored if category filter is set
|
|
ContentSharingEnabled |
Gets or sets if Content Sharing is enabled.
|
|
CssClass |
Gets or sets CssClass for the news module.
|
|
CustomTags |
Gets or sets custom tags.
|
|
DataSource |
Gets the news module data source.
|
|
DateTimeFormat |
Gets or sets date time format.
|
|
EditRoles |
Array of Guids that identify the roles which are allowed to edit this part.
(Overrides BasePart..::..EditRoles.) |
|
EnablePrettyDateFormat |
Gets or sets if pretty date format is enabled.
Note: Example of pretty date format '2 days ago'. |
|
ExternalReadMorePage |
Gets or sets external read more page
|
|
Filter |
Gets the main news filter container.
|
|
GravatarRenderType |
Type of the avatar to be rendered - if not set, the web.config settings are used.
|
|
IsEmpty |
Gets the flag if there are no news items according to the current filter.
|
|
IsNewsModulePlacedOnHomePage |
Gets or sets if news module place holder is home page
|
|
LongDateTimeFormat |
Gets or sets long date time format.
|
|
MaximumContentLength |
Gets or sets a maximum news content length.
|
|
MaximumShortContentLength |
Gets or sets a maximum news short content length.
|
|
ModuleType | ||
NewsHolderControl |
Gets or sets a news holder control.
|
|
NewsRepeatColumns |
Gets or sets news repeat columns.
|
|
NewsRepeatDirection |
Gets or sets news repeat direction.
|
|
NumberOfNewsItemsToShow |
Gets or sets the maximum number of news items that news module should show
Note: 0 is unlimited |
|
PagerPageSize |
Gets or sets the pager page size.
|
|
Prefetch |
Gets the main news sorter container.
|
|
RatingHistoryTemplatePath |
Gets or sets the rating history template path.
|
|
RatingSkin |
Gets or sets news module rating control default skin.
|
|
RatingTemplatePath |
Gets or sets the rating template path.
|
|
ReadMorePage |
Gets or sets the read more page
Note: If left blank news content is opened on same page
|
|
ReadMorePageTitle |
Gets or sets read more page Title.
|
|
ReadMorePageUrl |
Gets or sets read more page url
|
|
RssEnabled |
Gets or sets if Rss Engine should use this web part RSS channels.
|
|
ShowAllItems |
Gets or sets if news module should show all items, regardless of wheter they are expired or not.
|
|
ShowCategoryTitle |
Gets or sets if news module should show category title.
|
|
ShowCategoryTitleAsLink |
Gets or sets if news module should show category title as link.
|
|
ShowCreateDate |
Gets or sets if news module should show date of creation.
|
|
ShowCustomDate |
Gets or sets if news module should show custom date.
|
|
ShowFullCategoryPathway |
Gets or sets if news module should show full category pathway.
|
|
ShowIfEmpty |
Gets or sets module visibility if there is no news items .
|
|
ShowModificationDate |
Gets or sets if news module should show modification date.
|
|
ShowNewsFromSubCategories |
Gets or sets if news module should show news from category filter sub categories.
|
|
ShowPublishDates |
Gets or sets a value indicating whether publish dates should be visible.
|
|
ShowRating |
Gets or sets if news module should show rating.
|
|
ShowRatingHistory |
Gets or sets if news module should show rating history.
|
|
ShowRevision |
Gets or sets if news module should show revison number.
|
|
ShowShortContent |
Gets or sets if news module should show short content.
Note: If set to False full news content will be displayed.
|
|
ShowTitle |
Gets or sets if news module should show title.
|
|
ShowUsername |
Gets or sets if news module should show Username.
|
|
ShowViewCount |
Gets or sets if news module should show view count.
|
|
Sorter |
Gets the main news sorter container.
|
|
UserProfileUrl |
URL of the user profile page. If empty, a postback is performed to the same page.
|
|
UseTellAFriendProvider |
Gets or sets if Content Sharing Engine should use Tell a Friend as default provider (over the Add This provider).
|