php - Insert new class into banner module [OpenCart 1.5.6] -
I need some help with OpenCart banner module. I need to add a new div with a class between class = "content-top" and class = "banner 0". I need this new divan to add a banner group. I try to add this div to banner.tpl, but OpenCart has put each div class = "bannerX" into that new device. Where should I add this device? Thank you
Unfortunately, this is not possible. Not least in normal way.
A brief description: OpenCart requires to provide a banner at But if you know that whatever you display in the banner.tpl each time. So if you insert some code into this template, then it will be shown how many banners are displayed.
foreach around the
normal / content_top.tpl this new
& lt; Div & gt; & Lt; / Div & gt; It may be possible to add , but lead to this problem when different modules are being provided on this situation (like you provide three banners and a slideshow module here). In this case all of them will be attached to such a device.
content_top position is a banner module, then this is the way to do this (edit
normal / content_top.tpl ).
Comments
Post a Comment