Post by edgeinteractive » Wed Feb 14, 2018 11:53 pm

Opencart version 3.0.2.0
Linux (CENTOS) 7
Question how do I add banners from an external banner server?
I have invocation script:

<!-- Revive Adserver Asynchronous JS Tag - Generated with Revive Adserver v4.1.3 -->
<ins data-revive-zoneid="1" data-revive-id="32c4f042be8e038b928c2a4021613675"></ins>
<script async src="//ads.[redacted].media/adserver/www/delivery/asyncjs.php"></script>

I'd like to place this as a module on the home page. (HTML content) = "text of this block" no action.
I really don't want to edit the PHP files in OpenCart (I know how, just doesn't seem like the correct method)

I don't mind paying for a reasonably priced extension. ( I have already bought a few). I am looking for a graceful solution.


Posts

Joined
Sat Jan 13, 2018 9:38 pm

Post by straightlight » Sun Feb 18, 2018 5:05 am

Another way to do it would be by simply adding your code in your catalog/view/theme/<your_theme>/template/extension/module/banner.twig file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by edgeinteractive » Tue Feb 20, 2018 5:43 am

I was hoping for a module.. Easier to move around.
::)


Posts

Joined
Sat Jan 13, 2018 9:38 pm

Post by straightlight » Tue Feb 20, 2018 5:46 am

On the marketplace, there are a few that are already available. I would suggest to use the search.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Isaac0302 and 148 guests