Form example:
<?php include_partial('job/list', array('jobs' => $jobs)) ?>
I have module job and partial _list.php in module folder templates. Is it possible create in templates folder partials and in include all partials from that folder? If it possible how to make it? Thank you!
Call it as:
<?php include_partial('job/partials/list', array('jobs' => $jobs))?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With