Post by ablain » Thu Feb 19, 2015 9:43 am

Hi,

How can I modify the slideshow.tpl file to change the slideshow transition effect on homepage?

Thank you!

New member

Posts

Joined
Sun Jul 03, 2011 1:51 am

Post by yodapt » Thu Feb 19, 2015 10:18 am

OC's Slideshow version (OwlCarousel) is deprecated, if you want fancy efects you have to do more than edit that file, and include the new files + change the slideshow.tpl settings.

http://owlcarousel.owlgraphic.com/

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by ablain » Thu Feb 19, 2015 10:43 am

Ok thanks...Is there any walkthrough on how to make the changes?

New member

Posts

Joined
Sun Jul 03, 2011 1:51 am

Post by yodapt » Thu Feb 19, 2015 10:58 am

Not that I know of, but I might update the Mod I made 2 months ago to include the latest Carousel version.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by ablain » Thu Feb 19, 2015 11:29 am

Great! Thank you. If you can, please let me know...

New member

Posts

Joined
Sun Jul 03, 2011 1:51 am

Post by csmith81487 » Fri Mar 27, 2015 11:33 pm

Add:

Code: Select all

$this->document->addStyle('catalog/view/javascript/jquery/owl-carousel/owl.transitions.css');


to your catalog/controller/module/slideshow.php

under

Code: Select all

$this->document->addScript('catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js');
then open view/theme/module/slideshop.php

Add:

Code: Select all

transitionStyle : "fadeUp"
example:

Code: Select all

$('#slideshow<?php echo $module; ?>').owlCarousel({
	items: 6,
	autoPlay: 5000,
	singleItem: true,
	navigation: true,
	navigationText: ['<i class="fa fa-chevron-left fa-5x"></i>', '<i class="fa fa-chevron-right fa-5x"></i>'],
	pagination: true,
    transitionStyle : "fadeUp"
});

Newbie

Posts

Joined
Fri Mar 27, 2015 11:18 pm

Post by ablain » Wed Apr 08, 2015 7:15 am

Tried it and it does not work...the slider just dissapear.

Thanks anyway!

New member

Posts

Joined
Sun Jul 03, 2011 1:51 am

Post by silverknightone » Sat Jul 25, 2015 4:08 pm

csmith81487 wrote: Add:

Code: Select all

$this->document->addStyle('catalog/view/javascript/jquery/owl-carousel/owl.transitions.css');


to your catalog/controller/module/slideshow.php

under

Code: Select all

$this->document->addScript('catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js');
then open view/theme/module/slideshop.php

Add:

Code: Select all

transitionStyle : "fadeUp"
example:

Code: Select all

$('#slideshow<?php echo $module; ?>').owlCarousel({
 items: 6,
 autoPlay: 5000,
 singleItem: true,
 navigation: true,
 navigationText: ['<i class="fa fa-chevron-left fa-5x"></i>', '<i class="fa fa-chevron-right fa-5x"></i>'],
 pagination: true,
 transitionStyle : "fadeUp"
});
Tried this, and it works!!! thanks alot. ;D ;D ;D ;D ;D


Posts

Joined
Sat Jul 25, 2015 4:06 pm

Post by ablain » Fri Jan 22, 2016 3:23 am

YES IT WORKS!!!!! THANK YOU!!! ;D

New member

Posts

Joined
Sun Jul 03, 2011 1:51 am

Post by furipaf » Mon May 07, 2018 6:52 am

Thanks it works for me... are there other transition styles which we can use.. i have tried following effects but none of them is working except "fadeUp".

Styles I have tried: 'random', 'simpleFade', 'curtainTopLeft', 'curtainTopRight', 'curtainBottomLeft', 'curtainBottomRight', 'curtainSliceLeft', 'curtainSliceRight', 'blindCurtainTopLeft', 'blindCurtainTopRight', 'blindCurtainBottomLeft', 'blindCurtainBottomRight', 'blindCurtainSliceBottom', 'blindCurtainSliceTop', 'stampede', 'mosaic', 'mosaicReverse', 'mosaicRandom', 'mosaicSpiral', 'mosaicSpiralReverse', 'topLeftBottomRight', 'bottomRightTopLeft', 'bottomLeftTopRight', 'bottomLeftTopRight' ?

:) :) http://www.tophill.pk ;) ;)


User avatar
Newbie

Posts

Joined
Sun May 06, 2018 6:56 am
Who is online

Users browsing this forum: No registered users and 427 guests