Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

ContentSlider


Go to End


10 Posts   3589 Views

Avatar
animasola

Community Member, 121 Posts

12 November 2009 at 6:47pm

Is there a module similar to the commonly used javascript content sliders? Something like the one in http://imaginariacreative.com/, the middle part which is the article/picture showcase banner. I'm trying to integrate it in SS but was wondering is there a module or template which is readily available and dynamic? Thanks.

Avatar
Double-A-Ron

Community Member, 607 Posts

13 November 2009 at 10:36pm

Hiya,

There isn't a module that I'm aware of that does this easily for you.

Usually the best way (well my way anyway) is to get things like that going in plain old html, then copy the HTML and JS into your Page.ss template file (again, just like HTML).

The good news is that the site you linked to uses Jquery to run that slider, and Jquery is already part of SS.

Aaron

Avatar
animasola

Community Member, 121 Posts

15 November 2009 at 6:46pm

I tried numerous sliders but none of them work. I tried removing most javascript libraries and style sheets in hopes that there would be no conflicts but still, it doesn't work.

Here are a few sliders which I liked and would like to implement:

http://stoutlabs.com/blog/view/updated_mootools_content_slider_class_v2/
http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider

If anyone has implemented any of these, could you give me tips? I just can't seem to make them work.

Avatar
Double-A-Ron

Community Member, 607 Posts

15 November 2009 at 7:32pm

Hiya,

It's a bit hard to debug without know what errors you are experiencing. More often than not issues with things like this are Javascript related problems rather than any fault of SS.

As I said previously, try getting the slider to work in just a plain HTML file first. Then copy the code, JS and CSS into your silverstripe site.

If it works in your HTML file, and not on Silverstripe, the problem will either be a conflict of some sort, or a path problem to the javascript files.

If you you had both a static HTML file with the slider installed (working), and the silverstripe version of the same slider (not working) online - I might be able to look at both and give you some specifics as to why it's not working.

Ta
Aaron

Avatar
animasola

Community Member, 121 Posts

15 November 2009 at 7:50pm

Wow! I'll try to get it up as soon as possible. There just some weird thing going on in the connection in this place, I can't seem to access some sites. Thanks! :)

Avatar
Double-A-Ron

Community Member, 607 Posts

15 November 2009 at 11:07pm

A long serving member of these forums, Fuzz10 has implemented a slider on one of his Silvestripe sites. http://keenondots.com/

Aaron

Avatar
roblet

Community Member, 5 Posts

16 November 2009 at 1:19pm

I spent some time trying to get a content slider to work. It did take along time. I used jflow and used this tutorial http://net.tutsplus.com/javascript-ajax/using-the-wonderful-jflow-plugin-screencast/

What I did was I created the site and slider in HTML and then converted it to Silverstripe. I hard coded most of it into the template except the body part which updates the images and text this is just inserted into a normal page as html from the admin area.

Thanks

Rob

Avatar
animasola

Community Member, 121 Posts

16 November 2009 at 1:38pm

Hmm... Looks promising. I'll try it out. Does it have other settings such as an auto slide such that we will no longer need navigation buttons?

Go to Top