Jump to content

Create from two modules only one module


Recommended Posts

Probably this module not support this hook, you need to add this hook in blocknewsproduct.php or you can do this in other way.

This two modules hook to displayHomeTab and unhook from displayHomeTabContent and displayHome. In file index.tpl add this code:

 

{if !empty($HOOK_HOME_TAB_CONTENT)}
  <div class="block col-xs-12 col-sm-12">
    {$HOOK_HOME_TAB_CONTENT}
  </div>
{/if}
After that clear cache and force compilation.
Link to comment
Share on other sites

If you do everything correct it has to work. Pleas tell as what are you do step by step, what are have in hook displayHomeTab and DispalyHomeTabContent, how is now look your index.tpl file, did you clear cache and did you force compilation?

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...