Jump to content

How can add cms link in the header


Recommended Posts

I just noticed this post of yours after responding to the one about adding a banner to the column. As you will see the module I referenced will take care of both of your requests.

 

Marty Shue

 

This is what I'm looking to do...... Can you show me how to do that?

toheaderneedtoadd1.jpg

Link to comment
Share on other sites

Hi,

 

I'm looking for away with out Module.

 

Nathan

 

What you need to do is to open your prestashop folder. Goto "themes"

open your current prestashop themes folder: by default is "prestashop" and

Edit "header.tpl": Around line 71 you will see:

 

<!-- Header -->

<div id="header">

<a id="header_logo" href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

<img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

</a>

<div id="header_right">

{$HOOK_TOP}

</div>

</div>

 

 

Insert your code to the <!-- Header --> section.

Edited by yewster (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...