Jump to content

[RISOLTO] Visualizzare un modulo nella pagina categorie (category.tpl)


Grafikamania

Recommended Posts

Ho fatto tutto ma non funziona:


nel file php del modulo

    function hookSlide($params)
   {
       global $smarty;
       return $this->display(__FILE__, 'slide.tpl');
   }



nel file category.php

$smarty->assign(array(
   'HOOK_SLIDE' => Module::hookExec('Slide'),
));



nel file .tpl

{$HOOK_SLIDE}

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...