Jump to content

[SOLVED] How to include link to offers in the info block?


Recommended Posts

Hi guys,

In the footer section on our page there's a link to BlockSpecials module. I would like to move this link to the blockinfo module but I can't figure out how to do that. I have tried to enter the setup of both modules but the link isn't located there, it's like it's auto-generated.

Thanks.

Link to comment
Share on other sites

"Specials" link is part of the block various links:
modules/blockvariouslinks/blockvariouslinks.tpl
remove this:

{l s='Specials' mod='blockvariouslinks'}


the Infos is at:
modules/blockinfos/blockinfos.tpl
before/after {/foreach} put:

{l s='Specials' mod='blockvariouslinks'}


You can put it between other links, but you'll need one {if} there

Link to comment
Share on other sites

Hi Stan,

Thanks alot for this. It works great except the label isn't translated. It displays as "Tilbud" (danish for Specials) in the bottom and in the info section it displays as Specials. How can I fix this?

Thanks

Link to comment
Share on other sites

I have added this in blockinfos.tpl:

{l s='Specials' mod='blockinfos'}

and this in blockinfos/da.php (which was copied and edited from the blockvarious module):

$_MODULE['<{blockinfos}prestashop>blockinfos_d1aa22a3126f04664e0fe3f598994014'] = 'Tilbud';



So it works!! Thanks a lot :-)

Link to comment
Share on other sites

×
×
  • Create New...