Post by alikhan99 » Sun Jan 14, 2018 8:03 pm

Version 3.0.2

Friends is there a way to add a specific module to a twig file.
Currently I want to add a newsletter module in the footer rather than content left/right/top/bottom
I know there is one way that is to create a new content area and then go to each layout to assign the newsletter module to that area but this method is way too long. What i want to know is like in wordpress we use shortcode to call any plugin anywhere in the code so if there is any such way possible in OC.

Active Member

Posts

Joined
Fri Jun 29, 2012 4:57 pm

Post by imdevlper18 » Tue Jan 16, 2018 3:31 pm

You can do this using ocmod. Using ocmod is better for this. As you will have admin control.
So create a footernewsletter.ocmod.xml file.

Find a sample ocmod file of free extension and then add a code for your footer.twig.

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm
Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 505 guests