Jump to content

[SOLVED] Displaying categories on home page


Recommended Posts

Hello Mike,

This is a module as i want http://www.prestasho...-v13-and-below/

I have install it. can you explain that how i can add category to display under this homecategories module

 

Since this is a community-developed module, you would actually do best to ask the original developer. I'm not familiar with this module, but ejectcore should definitely be able to help you.

 

-Mike

Link to comment
Share on other sites

I think you can understand that what i want, can u suggest any free module to me

 

As I mentioned before, I actually do not understand exactly what you want, which is why I requested that you provide an example of a site you are looking to duplicate with this feature so that I can provide you with a better suggestion. Is there a specific website that you would like to pattern after with this feature?

 

-Mike

Link to comment
Share on other sites

Is this code fetching category

 

function hookHome($params)

 

{

 

global $smarty;

 

$category = new Category(1);

 

$nb = intval(Configuration::get('HOME_categories_NBR'));

 

 

 

$smarty->assign(array(

 

'category' => $category,

 

'lang' => Language::getIsoById(intval($params['cookie']->id_lang)),

 

));

 

return $this->display(__FILE__, 'homecategories.tpl');

 

}

Link to comment
Share on other sites

×
×
  • Create New...