Noyes Posted August 3, 2012 Share Posted August 3, 2012 Hello guys, I'm trying to create a module but kind of got stuck. Currently the module is showing up as it's supposed to do in the left column. However, I would like to be able to place it in the content instead. How would I do this? public function hookLeftColumn( $params ){ global $smarty; return $this->display(__FILE__,'mymodule.tpl'); } public function hookRightColumn($params){ return $this->hookLeftColumn($params); } As you can see I followed this tutorial: http://doc.prestasho...estaShop+module I appreciate any help I can get on this matter. Thank you, Noyes Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 3, 2012 Share Posted August 3, 2012 Just include public function hookHome($params){ return $this->hookLeftColumn($params); } Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
Noyes Posted August 4, 2012 Author Share Posted August 4, 2012 Thanks. However, my code is pretty messed up and it returns errors in Modules after uploading it. Is there like a basic already done module for a footer which I can edit its TPL contents to get the footer I need? I really appreciate your help. Thank you, Noyes Link to comment Share on other sites More sharing options...
Recommended Posts