Hi Anne,
I would like to remove the slideshow navigation controls so that the main page text appears right below the slides. For the life of me, I can't figure out how to do this. Can you help? Thanks.
Russ
Hi Anne,
I would like to remove the slideshow navigation controls so that the main page text appears right below the slides. For the life of me, I can't figure out how to do this. Can you help? Thanks.
Russ
It's currently in my sand box here:
http://www.rescoccc.net/zen/store2/
Last edited by RescoCCC; 7 Jul 2014 at 07:52 PM.
Okay, I figured out how to remove the controls. For anybody interested, edit includes/templates/template_name/common/tpl_home_slider.php.
Find:
<script type="text/javascript">
$(function() {
$('#slides').slidesjs({
width: 590,
height: 332,
play: {
active: true,
auto: true,
interval: '<?php echo RAB_SLIDES_PLAY ?>',
pauseOnHover: true,
restartDelay: 2500
}
});
});
</script>
Change to:
<script type="text/javascript">
$(function() {
$('#slides').slidesjs({
width: 590,
height: 332,
navigation:false,
pagination: false,
play: {
active: false,
auto: true,
interval: '<?php echo RAB_SLIDES_PLAY ?>',
pauseOnHover: true,
restartDelay: 2500
}
});
});
</script>
BUT, I still have a big gap between the slide and the home page text. Any ideas?
Figured that one out too. It was just a simple matter of changing the height. Duh!
PS: Thanks, Anne, for another fantastic template!
And, another question please. I would like to add more slides than just the five. I edited tpl_home_slider.php to add this additional line:
<?php
if (SHOW_BANNERS_GROUP_SETRAB6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETRAB6)) {
if ($banner->RecordCount() > 0) {
echo zen_display_banner('static', $banner);
}
}
?>
Then I added banner group rabslide6 with another slide image. No joy. Is there another file I need to edit? Thanks.
I am happy that you like the template ;)
If you do a forum search for how to add a new banner group, there are great step by step explanations ;) The easiest way would be to just hard code the new slide and add this to the tpl_home_slider.php:
T'hanks,Code:<li><a href="your url"><img src="your image name" alt="your alt name" /></a></li>
Anne
Thanks, Anne, but I would like my client to have the ability to add a slide using banner manager. Any way to do that?
Bookmarks