Jump to content

Adding slide title instead of number in Home slider


Ad.hoc
 Share

Recommended Posts

Hello,

 

I want to modify "Image slider for your homepage" module, so that instead of numeration (1, 2, 3, 4, etc.) it would show the slide title, which can be entered from the admin page.

 

I tried looking for the code in php and tpl files, but it seems it's hardcoded in jquery.bxSlider.min.js. I found the spot, where it generates the number:

 

for(var i=1;i<=pagerQty;i++){pagerString+='<a href="" class="pager-link pager-'+i+'">'+i+'</a>';}

 

But I can't seem to make it display the slide title instead. Anybody have an idea? Using 1.5.1, by the way.

Thanks!

Edited by Ad.hoc (see edit history)

Share this post


Link to post
Share on other sites

  • 1 month later...
  • 5 months later...

I am using version 1.5.4.0 and have my own theme but I went to theme/themefolder/js/Modules/homeslider/js/homeslider.js and on line 39 where it says "pager: true," I changed it to "pager: false," and it removed the numbers from the slideshow.

Share this post


Link to post
Share on other sites

  • 3 months later...

I was looking for the same thing. I accompished it without much coding, but had to make two images files. One for the overall pager background with the text on it and one for the active pager overlay to distinguish the active slide. You can see it in action at my site www.jandsclothingco.com I am using 1.5.4.1 but it should be the same for different versions since it is not much coding.

post-595250-0-69576800-1375485548_thumb.png

Share this post


Link to post
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More