Pages source - K2 items
This pages source provides ability to define selection parameters which will be used to get K2 items and each selected item will be a separate page in the publication. K2 is a 3rd party extension and it should be installed on your site if you want to integrate "ARI Smart Book" with it. It is possible to define the following parameters for this pages source:
- Articles count is used to specify how many articles should be selected. If the parameter is set to 0, all articles that match the criteria will be selected.
- Exclude frontend articles is used to exlude/include articles which are marked as featured.
- Categories is used to specify the categories of which will be selected articles.
- Invert category selection is used to invert categories selection. If the parameter is set to "Yes", articles will be selected from all content categories except the categories which are selected in "Categories" parameter.
- Include sub-categories allows to specify whether be selected articles from the subcategories or not. If the parameter is set to "Yes", the extensions will select articles from categories which are selected in "Categories" parameter and all sub-categories of these categories.
- Included articles is used to specify articles which will be selected despite of other search parameters. Enter comma-separated articles ID. For example: 5,16,25
- Excluded articles is used to specify articles that will not be selected despite of other search parameters. Enter comma-separated articles ID. For example: 21,36
- Sort is used to specify how the selected articles should be sorted. Select a field and sorting direction.
- Template is used to specify what fields from article will be shown on a page. It is possible to use some predefined variables which will be replaced with fields from articles. The following variables are supported:
- {$id} contains article ID
- {$title} contains article title
- {$introtext} contains intro text
- {$fulltext} contains full text
- {$readmore_link} link to article page. It is not a HTML hyperlink, it contains only link, but it can be formatted as you want. For example the following code create a simple HTML hyperlink:
<a href="{$readmore_link}">Read more...</a>
Thumbnails settings
This section is used to specify where pages thumbnails are located. The thumbnails are used by the slider with pages preview. The section contains the following parameters:
- Use thumbnails allows to indicate use thumbnails for the publications or not.
- Thumbnails path is used to indicate path to thumbnails. It is possible use some predefined variables to specify file name. The same variables as for "Template" parameter are suported. For example if the parameter is set to images/publications/pub1/page_{$id}.jpg value, it means that the extension will find thumbnails in <joomla_directory>/images/publications/pub1/ folder and for article with ID = 15, it will use page_15.jpg file. For article ID = 37, will use page_37.jpg file.