Jump to content

Hooking module to content


Recommended Posts

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

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

×
×
  • Create New...