T
T
tester2020-06-15 10:14:22
opencart
tester, 2020-06-15 10:14:22

Opencart module not displaying?

There is a "Recommended Articles" module, I brought it to the main page through the control panel (Design -> Layouts). Everything is ok here.

I decided to bring it to the blog page, but now manually, without a control panel.

Loaded the module in blog/latest.php like this:

$data['blog_featured'] = $this->load->controller('extension/module/blog_featured');


And output to blog/latest.twig like this:
{{ blog_featured }}

There are no errors, but posts are not displayed either.
PS: I didn't make a mistake with the name of the module

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question