Jump to content

Help with third party module


BOIK

Recommended Posts

Hi all,

i have this problem that can't resolve.
I created new hook centerbottom and put a new module in it. I would like to show this module on all pages (category, product, etc) but can't seem to get it right.
I can see the hook in Admin panel but cannot see the module in FO.

Do i need to edit files (tpl or php) of the pages that i would like to display this module on, or.....

I'm a bit lost, so thank you for any help.

Below are the pics of changes i made.

Any one? Please?

44977_dNeAdTnPnVQN3B20x0pN_t

44975_C7gISGZq63FJO3GojdB7_t

44976_OwESz5EyVJB1hSSStSSQ_t

44978_vphZH9V1etZb7cMSgYsS_t

Link to comment
Share on other sites

Ok tried hooking the module to right_column_hook and than inserting the hook here

>            
quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>
           {if $HOOK_PRODUCT_ACTIONS}
               {$HOOK_PRODUCT_ACTIONS}
           {/if}
       </form>
       {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if}



{$HOOK_RIGHT_COLUMN}
{include file=$tpl_dir./breadcrumb.tpl}

{if $quantity_discounts}
<!-- quantity discount -->
</pre>
<ul>



But no luck :(

If i put left column hook to that same spot in product.tpl than it shows all modules hooked there.
I also changed the

    function install()
   {
       if (!Configuration::updateValue('HOME_FEATURED2_NBR', 8) OR !parent::install() OR !$this->registerHook('rightColumn'))
           return false;
           if (!Configuration::updateValue('HOME_FEATURED2_NBRBS', 8))



so that it is installed to right column.

Please, could use some tips and help.

Link to comment
Share on other sites

I think the "problem" is somewhere in my module (HomeFeatured 2 by RSI Sistemas).
I can move left column with all the modules (cart, category, specials, viewed products) anywhere i want and all the modules show up great.

Still need help :)

Link to comment
Share on other sites

Hello,

thank you for your response!

?1 Yes
?2 Yes
?3 I've put this at the end

}
function hookLeftColumn($params)
{
return $this->hookLeftColumn($params);
}
?>

But since i don't really know what that does it's probably wrong ;)

?4 Yes, that is my intent. I have this module (homefeatured 2) that does exactly what i need. But can't get it to show on product and category page.

Thanks again.

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