"Easy Slider" plugin

Parent Previous Next

"ARI Smart Content - Easy Slider" plugin creates a content slider in Joomla! content. The plugin can be enabled/disabled and configured on "Extensions → Plugin Manager" page on Joomla! backend. Common information how to use "ARI Smart Content" applications plugins is here. {easyslider} plugin tag is used for the plugin. The following code creates a slider with three items which are defined manually:


{easyslider}

       {item}

               This is the first item

       {/item}

       {item}

               This is the second item

       {/item}

       {item}

               This is the third item

       {/item}

{/easyslider}


As you can see slider items are defined using {item}...{/item} code. Any HTML code can be used between {item} and {/item} tags.


It is also possible to create sliders based on data from Text data data sources. In this case use source attribute of {easyslider} tag to define ID of the data source. For example you have created a data source (and ID of this data source is 5) which selects Joomla! articles from the selected categories and what to create an slider based on these articles. Use the following plugin code:


{easyslider source="5"}

{/easyslider}


In this case slider items content will be formatted according to value of "Template" parameter from plugin settings. Possible to use template attribute of {easyslider} tag to define custom formatters:


{easyslider source="5" template="{$introtext}"}

{/easyslider}



Plugin settings


The following parameters can be defined on plugin settings page ("Extensions → Plugin Manager → ARI Smart Content - Easy Slider" page on Joomla! backend):




















"Navigation controls" parameters section is used to show/hide navigation controls and configure button labels:



















"Styles parameters" section contains parameters to define some style properties of the slider:











#{$id} {font-size: 20px;}


Plugin code syntax


The following attributes can be used for {easyslider} tag:



{easyslider theme="advanced"}

       {item}

               This is the first item

       {/item}

       {item}

               This is the second item

       {/item}

{/easyslider}



{easyslider width="500"}

       {item}

               This is the first item

       {/item}

       {item}

               This is the second item

       {/item}

{/easyslider}



{easyslider height="400"}

       {item}

               This is the first item

       {/item}

       {item}

               This is the second item

       {/item}

{/easyslider}



{easyslider responsive="0"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}



{easyslider dir="horizontal"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}



{easyslider itemsPerPage="2"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}



{easyslider startSlide="1"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}




{easyslider auto="1"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}









The following code set animation effect to fade value:


{easyslider moveFx="fade"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}



{easyslider controlsPos="top"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}





{easyslider pagingType="words" pagingShow="1"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}





{easyslider padding="5"}

       {item title="Item 1"}

               This is the first item

       {/item}

       {item title="Item 2"}

               This is the second item

       {/item}

       {item title="Item 3"}

               This is the third item

       {/item}

{/easyslider}