<factinclude news />
By default includes links to the 5 latest changed news.
news can take the following parameters:
count
count="3"
Defines how many links should be displayed. In this case there will be shown 3 links.
Note: if you type a value 0 between the quotation marks the default value will be loaded.
offset
offset (default 0)
newstype
newstype (default default)
iconimage
iconimage="url"
With this parameter you can change the default news icon with your own. In order to do this, place between the quotation marks the full url to the image.
iconwidth
iconwidth="30"
With this parameter you can define the width of the icon. The default value is 19.
iconheight
iconheight="30"
With this parameter you can define the height of the icon. The default value is 19.
columnwidth1
columnwidth1="30"
With this parameter you can define the width of the first column, which is between the icon and the date of creation. The default value is 19.
columnwidth2
columnwidth2="150"
With this parameter you can define the width of the second column, which is the column of the date of creation. The default value is 120.
columnwidth3
columnwidth3="400"
With this parameter you can define the width of the third column, which is the column, where in simple-view are displayed the infoids of the facts and in full-view - the title, source and the infoid. The default value is 350.
datestyle
datestyle="bcolor:#cc0000; font-style:italic;"
Between the quotation marks you can use css code to define the style of the date.
infoidstyle
infoidstyle="bcolor:#cc0000; font-style:italic;"
Between the quotation marks you can use css code to define the style of the infoid.
Attention: This parameter works only in simple view.
linkstyle
linkstyle="bcolor:#cc0000; font-style:italic;"
Between the quotation marks you can use css code to define the style of the link.
Attention: This parameter works only in simple view.
spacer
spacer="none"
If you type this parameter, there will be no spacer between the news in the list.
Note: spacer should be used only when the view is in full mode, because otherwise there is by default no spacer.
|