Post by chinedunzor » Sun Oct 18, 2020 5:53 am

Hi everyone!
Still a fresh newbie and wanting to learn more. i am using the newest Opencart I wanted to make the standard slide show image to be fullwidth then found it difficult so i decided to insert my own "DIV" containing images for my slide show in: catalogue/view/theme/default_theme/template/common/header.twig and also have inserted the script. so the slide show worked well with the script and it displays in all the pages of my website but i want it to display only in home page.

so my question is how to make the slideshow not to display in other pages but only in Homepage.
please can any one help me here?

this is the site

Thanks in advance



Mon Oct 05, 2020 2:10 am

Post by IP_CAM » Sun Oct 18, 2020 9:34 am

Well, possibly by use of something like this linked below:
Event Manager for Opencart (create, edit, delete event actions) ... n_id=29092
Or then, you would need to create a Module, to only be 'active' in a certain Section, like home.
Or write an OcMod or VqMod, to display your Code somewhere (top/bottom/etc.) in the Theme home.twig file.
And if you're not able to, you probably need a Pro, to do it for you... ;)
Good Luck! :D

Please don't send me OC Forum Personal Messages, just contact:
OC LIGHT Test Site:
OC V-PRO Test Site:
My Github OC Site:
2'800+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by chinedunzor » Mon Oct 19, 2020 1:40 am

yes i have done it. it is now showing only on homepage. never thought it could be so simple.

Thank you IP_CAM for your time



Mon Oct 05, 2020 2:10 am
Who is online

Users browsing this forum: No registered users and 31 guests