Quick question, I've been searching for this for a few hours now.
How can I load an individual model in the html view? For example, I want to load 'latest products' on a specific place on the homepage.
Right now there is this code:
Code: Select all
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']}; ?>
<?php } ?>
Code: Select all
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']['latest']}; ?>
<?php } ?>