We use cookies to ensure that we give you the best experience on our website. We also use cookies to ensure we show you advertising that is relevant to you.If you continue without changing your browser settings, we will assume that you are happy to receive all cookies on this website.

Create your own slider for news articles or images

I will describe the basics of how to create a slider, you can use it yourself in your CMS Made Simple module templates. Think of rotating summary views of the News or CGBlog modules or rotating company logos in the CMSMS Company Directory module.

How to use

This feature uses jQuery, so to start you need to call the jQuery library in your template. If you already have it there because another module uses it, you don't need to add it twice!

Download the jQuery Cycle plugin and put it in a folder at your webserver. I used the folder "scripts" here...

Show related articles:

Comment Form

5 Comments

I found a tiny problem with JS parameters. In the end of line "pause" should be "," instead of ".". With this change the script works well in my page. Thanx again.

12-03-2016

James Willie

Nice tutorial on news slider or images. You can get more awesome plugins here http://www.jqueryplugins.net

18-09-2013

jerard

Simple and useful, I love to use cycle2 in my jobs

17-06-2013

smit

just one word "awesome". can you please provide me XMl and mail me @ my email address please.. because i dont't know how to assign module to particular position and i had also tried with syntax provided in doc but not display as i intended.