Download
Last stable v 5.2 2024-11-01
{cms_plugin_slider}
Smarty get slides (<cms_plugin_slider>) template plugin. Plugin gets slides array from slider storage defined by id parameter and stores into variable defined by var parameter.
Attributes:
Attribute Name | Type | Required | Default | Description |
---|---|---|---|---|
id | string | Yes | n/a | Storage (XML file) id |
var | string | Yes | n/a | Assign array to variable definded by var |
Array data format:
[
{
id: "slide unique id",
url: "url to page containing more info",
title: "slide title",
description: "slide description",
image: "url to slide image"
},
...
]
Sample for using:
{cms_plugin_slider id='eng' var='sample'}
{json_encode($sample)}
Above will output:
[{"id":"54da6cbea88e4","url":"\/docs\/overview\/basics\/full-text-indexing-and-search","ssl":0,"title":"Full-Text Search","description":"<ul>\n <li>Apache Lucene Query<\/li>\n <li>Fuzzy search<\/li>\n <li>XML and JSON formats<\/li>\n <li>Browse A-Z<\/li>\n <li>Pure PHP<\/li>\n <li>Works in shared hosting<\/li>\n<\/ul>","image":"\/cms\/images\/slides\/search.png"},{"id":"513250c518259","url":"\/docs\/overview\/cms-features\/wide-opportunity-to-use","ssl":0,"title":"Wide Opportunity to Use","description":"<ul><li>Works in shared hosting<\/li><li>Simple and complex sites<\/li><li>Framework for other systems<\/li><li>RESTful API<\/li><li>jQuery, PHP, Smarty templates<\/li><li>Subsites are supported<\/li><\/ul>","image":"\/cms\/images\/slides\/wide.png"},{"id":"513250ffabc5e","url":"\/docs\/overview\/cms-features\/exclusive-capabilities","ssl":0,"title":"Exclusive Capabilities","description":"<ul><li>Hierarchical access control <\/li><li>WEB file manager<\/li><li>WebDAV server<\/li><li>NLS support<\/li><li>Skinable <\/li><li>Integrated site search<\/li><li>CSS: SASS and LESS<\/li><\/ul>","image":"\/cms\/images\/slides\/exclusive.png"},{"id":"51325118ecbf3","url":"\/docs\/overview\/cms-features\/web-based-management","ssl":0,"title":"100% Web","description":"<ul><li>Management tools<\/li><li>Drag and drop<\/li><li>Copy\/paste<\/li><li>Sort, filter etc.<\/li><li>Trees, context menus<\/li><\/ul>","image":"\/cms\/images\/slides\/web.png"},{"id":"5132512d6eb32","url":"\/docs\/overview\/cms-features\/integrated-access-control","ssl":0,"title":"Access Control","description":"<ul><li>Lists (ACL)<\/li><li>Hierarchical inheritance<\/li><li>HTTP Basic authentication<\/li><li>HTTP Diggest authentication<\/li><li>Site files protection<\/li><\/ul>","image":"\/cms\/images\/slides\/access.png"},{"id":"5132515bb5ab4","url":"\/docs\/overview\/cms-features\/integrated-file-manager","ssl":0,"title":"WEB File Manager","description":"<ul><li>WYSIVYG HTML editor<\/li><li>Drag and drop<\/li><li>Access control<\/li><li>Multiple upload\/download<\/li><li>Image editor<\/li><li>Archive files<\/li><li>Integration into pages<\/li><\/ul>","image":"\/cms\/images\/slides\/fm.png"},{"id":"5132516a04e4c","url":"\/docs\/overview\/cms-features\/integrated-webdav-server","ssl":0,"title":"WebDAV Server","description":"<ul><li>Access control<\/li><li>Full access for administrator<\/li><li>Authorized access for users<\/li><li>Setup via CMS<\/li><\/ul>","image":"\/cms\/images\/slides\/webdav.png"},{"id":"534cf0cab7b28","url":"\/docs\/overview\/cms-features\/interactive-site-localisation","ssl":0,"title":"Site Localisation","description":"<ul><li>Multi language support<\/li><li>NLS support<\/li><li>Messages gathering<\/li><li>Singleton and plural forms<\/li><li>Site \/ skin level localisation<\/li><li>Builtin translate editor<\/li><\/ul>","image":"\/cms\/images\/slides\/nls.png"},{"id":"534cf10ad1438","url":"\/docs\/overview\/cms-features\/effective-seo-optimization","ssl":0,"title":"SEO Optimization","description":"<ul><li>Page metadata<\/li><li>Facebook and Twitter<\/li><li>Google Analytics<\/li><li>Sitemap manage<\/li><li>Sitemap include news<\/li><\/ul>","image":"\/cms\/images\/slides\/seo.png"}]