Jump to content

How can i rename footer links?


Recommended Posts

  1. you can change link names from the localization > translations tab
  2. form first dropdown select modules translations
  3. then click on flag
  4. search for blockcms module and translate fields you want.

 

some part of links in this footer section is also available to translate from preferences > CMS tab in your back office

Link to comment
Share on other sites

I don't know how edit navigation bar i wanna add 2 buttons to navigation bar

Now looks like:

Home | Sitemap | Contact

I wanna do like this:

iPhone | iPad | iPod | Mac | Apmokejimas | Pristatymas | Kontaktai

 

You got it?

Link to comment
Share on other sites

theme that you use don't allow to create easily menu like top horizontal menu.

It's because you havent got it there.

 

links that you mentioned is a part of permanent link block module. You can only edit the contents of its .tpl file. Any other easy configuration of this addon doesnt exist.

Link to comment
Share on other sites

I see, ok so now go to the modules > positions

 

search from "displayTop" modules list

on that list move the block top menu module right before the permanent links block module (just use drag n drop feature to change its position)

Link to comment
Share on other sites

you have to edit the template files manually, you can't do it from the back office - because the permanent links block module hasn't got a configuration feature.

 

what to do?

open the modules/blockpermanentlinks/blockpermanentlinks.tpl file

you will see there a piece of the code. you have to edit it.

(some skills in the html / smarty / php are necessary in this case)

Link to comment
Share on other sites

<!-- Block permanent links module HEADER -->
<ul id="header_links">
<li id="header_link_sitemap"><a href="{$link->getPageLink('index.php?id_category=6&controller=category', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='iPhone' mod='blockpermanentlinks'}</a></li>
<li id="header_link_home"><a href="{$link->getPageLink('index.php?id_category=6&controller=category', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='iPad' mod='blockpermanentlinks'}</a></li>
<li id="header_link_home"><a href="{$link->getPageLink('index.php', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='iPod' mod='blockpermanentlinks'}</a></li>
<li id="header_link_home"><a href="{$link->getPageLink('index.php', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='Mac' mod='blockpermanentlinks'}</a></li>
<li id="header_link_home"><a href="{$link->getPageLink('index.php', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='Apmokėjimas' mod='blockpermanentlinks'}</a></li>
<li id="header_link_home"><a href="{$link->getPageLink('index.php', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='Pristatymas' mod='blockpermanentlinks'}</a></li>
<li id="header_link_home"><a href="{$link->getPageLink('index.php', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='Kontaktai' mod='blockpermanentlinks'}</a></li>
<li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap.php')}" title="{l s='sitemap' mod='blockpermanentlinks'}" {if $page_name == 'sitemap'}class="active"{/if}>{l s='Sitemap' mod='blockpermanentlinks'}</a></li>
<li id="header_link_contact"><a href="{$link->getPageLink('contact-form.php', true)}" title="{l s='contact' mod='blockpermanentlinks'}" {if $page_name == 'contact-form'}class="active"{/if}>{l s='Contact' mod='blockpermanentlinks'}</a></li>
<li id="header_link_bookmark">

 

I trying this but when i wanna open link like example iPhone i getting this direction "www.igen.lt/index.php?controller=index?id_category=6&controller=category" How delete this "index.php?controller=" ?

Link to comment
Share on other sites

<li id="header_link_sitemap"><a href="{$link->getPageLink('index.php?id_category=6&controller=category', true)}" {if $page_name == 'index'}class="active"{/if}>{l s='iPhone' mod='blockpermanentlinks'}</a></li>

 

use different method please:

<li id="header_link_sitemap"><a href="{$link->getCategoryLink('16')}" {if $page_name == 'index'}class="active"{/if}>{l s='iPhone' mod='blockpermanentlinks'}</a></li>

 

where the 16 is an ID number of the category

Link to comment
Share on other sites

it's because you've got text-transform: capitalize;

 

 

#header_links a {

color: #666;

text-align: center;

text-transform: capitalize;

text-decoration: none;

padding: 5px 15px;

border-radius: 2px;

-moz-border-radius: 2px;

-webkit-border-radius: 2px;

}

 

 

just remove the line with this param and it will work as you expect

Link to comment
Share on other sites

×
×
  • Create New...