Difference between revisions of "Article Calendar Widget"

From unroole CMS wiki
Jump to: navigation, search
(Created page with "<noinclude> {{for|more information|Widgets}}</noinclude>{{Css Image Crop |Image = Article Calendar Widget In Action.png |bSize = 300px |cWidth = 300 |cHeight = 167 |...")
 
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{for|more information|Articles}}{{also|Article Widgets}}{{also|Widgets}}</noinclude>{{Css Image Crop
{{for|more information|Widgets}}</noinclude>{{Css Image Crop
+
 
   |Image = Article Calendar Widget In Action.png
 
   |Image = Article Calendar Widget In Action.png
 
   |bSize = 300px
 
   |bSize = 300px
Line 8: Line 7:
 
   |Description = Using article calendar widget to display calendar with links to article.
 
   |Description = Using article calendar widget to display calendar with links to article.
 
}}
 
}}
 +
 +
The [[Article Calendar Widget]] provides a simple way to display a calendar of article posts for a given month. 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 the [[Article Post Widget]] will automatically use these parameters to only show articles created on that day. When changing months the [[Article Calendar Widget]] will append any previously used parameters in order to preserve the page state. The calendar can be easily styled using CSS by targeting the following classes:
 +
 +
* article_calendar_title
 +
* article_calendar
 +
* article_calendar_month
 +
* article_calendar_table
 +
 +
{{clear}}
 +
 +
=== Properties ===
  
 
{{Css Image Crop
 
{{Css Image Crop
Line 17: Line 27:
 
   |Description = Property panel for article calendar widget
 
   |Description = Property panel for article calendar widget
 
}}
 
}}
 
Article Post Widget provides a simple way to display articles.
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 26: Line 34:
 
|-
 
|-
 
| Article Type
 
| Article Type
| Choose which type of the article links you want the calendar have. Leave blank for all types.
+
| Choose which type of the article links you want the calendar have. If left blank will use the first type.
 
|-
 
|-
 
| 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 article post 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 article post widget.
+
 
|}
 
|}
 +
 +
''For global widget properties see [[Widgets#Common_Properties|Widgets]]''
  
 
{{clear}}
 
{{clear}}

Latest revision as of 16:41, 22 November 2012

Article Calendar Widget In Action.png

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

The Article Calendar Widget provides a simple way to display a calendar of article posts for a given month. 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 the Article Post Widget will automatically use these parameters to only show articles created on that day. When changing months the Article Calendar Widget will append any previously used parameters in order to preserve the page state. The calendar can be easily styled using CSS by targeting the following classes:

  • article_calendar_title
  • article_calendar
  • article_calendar_month
  • article_calendar_table

Properties

Article Calender Widget Property.png

Property panel for article calendar widget
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