<home> <articlesFromCategory>
|
The Articles from Category widget can be implemented in multiple instances.
Enable the widget by setting
"enabled=true". Disable the widget by setting "enabled=false"
Specify the following:
- A unique ID for each widget instance.
- A "categoryID" to be used for the widget. This is mandatory. This ID can be that of a category or sub-category.
- A number between 1-50 to indicate the number of articles to be listed. This is mandatory.
- "All" to display articles regardless of their modified date.
- A number between 1-90, to indicate a time-frame of modified articles, in number of days. This is mandatory. Articles are displayed by Modified Date, newest to oldest.
If more articles exist than are configured to display in the widget, a "more" link is displayed. Clicking on the "more" link displays the browse page (if enabled), or the search results page, filtered to show articles in the selected category.
|
<articlesFromCategory enabled="true" id="1"><categoryID>1053</categoryID>
<numberOfArticles>20</numberOfArticles>
<numberOfDays>90</numberOfDays>
</articlesFromCategory>
Example: <numberOfDays>7</numberOfDays>
Displays articles in the selected category that were modified within the last 7 days.
|