Difference between revisions of "Article Calendar Widget"

From unroole CMS wiki
Jump to: navigation, search
Line 18: Line 18:
 
}}
 
}}
  
Article Calendar Widget provides a simple way to display a calendar with links to articles.
+
Article Calendar Widget provides a simple way to display a calendar with links to articles. Only days which have articles published on that day will be clickable. Once clicked it will append date parameters to the end of the url. You can use the parameters to customize the view of the page. Other article related widget may also use these parameter to determine what to show, for example article post widget will automatically use these parameters and only show articles created on that day. When changing months the Article Calendar Widget will also append the corresponding parameters. The calendar can be easily styled using CSS by targeting the following classes: "article_calendar_title", "article_calendar", "article_calendar_month", "article_calendar_table".
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 29:
 
|-
 
|-
 
| Article Path
 
| Article Path
|  
+
| The relative path where a visitor should be directed when they click on one of the links for this widget. Leave blank to be on the same page.
|-
+
| Custom Id
+
| Type in a custom id. This id can then be used in CSS and Javascript to change the style and behaviour of this widget.
+
|-
+
| Custom Classes
+
| Type in a custom class, or mutiple classes seperated. These classes can then be used in CSS and Javascript to change the style and behaviour of this widget.
+
 
|}
 
|}
 +
 +
''For global widget properties see [[Widgets#Common_Properties|Widgets]]''
  
 
{{clear}}
 
{{clear}}

Revision as of 15:39, 15 November 2012

Article Calendar Widget In Action.png

Using article calendar widget to display calendar with links to article.

Article Calender Widget Property.png

Property panel for article calendar widget

Article Calendar Widget provides a simple way to display a calendar with links to articles. Only days which have articles published on that day will be clickable. Once clicked it will append date parameters to the end of the url. You can use the parameters to customize the view of the page. Other article related widget may also use these parameter to determine what to show, for example article post widget will automatically use these parameters and only show articles created on that day. When changing months the Article Calendar Widget will also append the corresponding parameters. The calendar can be easily styled using CSS by targeting the following classes: "article_calendar_title", "article_calendar", "article_calendar_month", "article_calendar_table".

Name Description
Article Type Choose which type of the article links you want the calendar have. If left blank will use the first type.
Article Path The relative path where a visitor should be directed when they click on one of the links for this widget. Leave blank to be on the same page.

For global widget properties see Widgets