Tje123 Posted October 18, 2017 Share Posted October 18, 2017 (edited) I'm new to prestashop and developing new module for carrier. Calender.php class delivery_schedulercalendarModuleFrontController extends ModuleFrontController { public function initContent() { parent::initContent(); $this->setTemplate('module:delivery_scheduler/views/templates/front/calendar.tpl'); } public function run() { return 'abc'; } } i want to display `abc` in calender.tpl public function hookDisplayCarrierExtraContent() { //how to call `run()` function here } Edited October 18, 2017 by Tje123 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now