Page 1 of 1

home page slideshow

Posted: Thu Jan 16, 2020 2:49 am
by belowcost
I cant find slideshow.twig or banner.twig

in the THEM EDITOR sections of the Admin for OC 3.0.3

Looking to turn OFF the rotating image, or making it very long if OFF isnt an option.

Re: home page slideshow

Posted: Thu Jan 16, 2020 2:55 am
by cyclops12
they are def there
extensions/modules

Re: home page slideshow

Posted: Thu Jan 16, 2020 5:21 am
by belowcost
The module to turn it on and off is there where you state. I am talking about the TWIG to edit and change the timing or alter the module.

Re: home page slideshow

Posted: Thu Jan 16, 2020 5:30 am
by sw!tch
catalog/view/theme/default/template/extension/module/slideshow.twig

FWIW - File shows in the theme editor as well, so maybe some issue on your setup.

Re: home page slideshow

Posted: Thu Jan 16, 2020 5:58 am
by belowcost
found it, than kyou

i changed the timing to 9500, but it doesnt seem to change after saving it.

so i go back to edit it again, and under extension/module/slideshow.twig

the changes made revert back to 2500

i edit it again, click save, it says it saved, but when i go out and back in, the changes arent saved again.

and the home page slideshow doesnt change either


this is what I changed it to (i really want it static)

autoplay: 9500,

Re: home page slideshow

Posted: Thu Jan 16, 2020 6:14 am
by sw!tch
You are using the theme editor, correct?
You have to reload Design -> Theme Editor the changes should be under Theme History. If you are going back to the file again the changes won't show.

If that's not the issue my guess is mod_security blocking the request, because it has script tags or some other issue.

Re: home page slideshow

Posted: Thu Jan 16, 2020 6:27 am
by by mona
If you want a static image .. create a custom html and add it to
admin => layouts => home => content top (or wherever you want it) - the slideshow and the banner are very heavy ..

Alternatively I have two modules the first is extremely useful generally for both simple and complex additions to your site and the second will do what you want simply and responsively as well as simply adding various banners on specific pages.
https://www.opencart.com/index.php?rout ... n_id=33048
https://www.opencart.com/index.php?rout ... n_id=26852

Re: home page slideshow

Posted: Fri Jan 17, 2020 3:46 am
by belowcost
I am using theme editor, making the changes, reload it, and the changes are there as you indicated in history. (I changed the timing to 9500)

But I reload the home page and the the rotation timing doesnt change to 9500, it is at the old default 2500


sw!tch wrote:
Thu Jan 16, 2020 6:14 am
You are using the theme editor, correct?
You have to reload Design -> Theme Editor the changes should be under Theme History. If you are going back to the file again the changes won't show.

If that's not the issue my guess is mod_security blocking the request, because it has script tags or some other issue.

Re: home page slideshow

Posted: Fri Jan 17, 2020 3:54 am
by sw!tch
Cleared your theme and SASS cache? Its in the dashboard small COG icon top right. You need to refresh your modification cache. Clear your browser cache as well.

Personally I would just override twig templates in your custom theme directory and not use that editor.. Your controller will inherit the template from your active theme directory. Easier to do this way.