ArnasL Posted August 8, 2013 Share Posted August 8, 2013 How can i rename footer links? www.igen.lt Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 what ps version you use? it looks like 1.4, am I right? Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 you can change link names from the localization > translations tab form first dropdown select modules translations then click on flag 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 More sharing options...
ArnasL Posted August 8, 2013 Author Share Posted August 8, 2013 Its 1.5 version. and actually i have one more question how edit navigation (Home, Sitemap, Contact) bar ? Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 what you mean by edit? you want to change translation or replace it? Link to comment Share on other sites More sharing options...
ArnasL Posted August 8, 2013 Author Share Posted August 8, 2013 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 More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 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 More sharing options...
ArnasL Posted August 8, 2013 Author Share Posted August 8, 2013 So maybe you can suggest something better? Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 check the modules section in your back office, have you got there top horizontal menu? Link to comment Share on other sites More sharing options...
ArnasL Posted August 8, 2013 Author Share Posted August 8, 2013 (edited) Yes I got it, but its not navigation bar because i have turned off this module. I think it is in other place Edited August 8, 2013 by ArnasL (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 so in this case it is what you're looking for, just install this module, we will see what is going on when it will be installed Link to comment Share on other sites More sharing options...
ArnasL Posted August 8, 2013 Author Share Posted August 8, 2013 Ok. Installed. Go to my website, look what happened Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 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 More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 edit: this will not work unfortunately, this theme doesn't support this awesome top module Link to comment Share on other sites More sharing options...
ArnasL Posted August 8, 2013 Author Share Posted August 8, 2013 Help :S This theme is perfect for me, i just need edit navigatio bar and theme is will be complited 90% Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 the only way to achieve what you want is to add links manually to the permanent links block. In this case you have to edit the modules/blockpermanentlinks/blockpermanentlinks.tpl file and create anhors manually. Link to comment Share on other sites More sharing options...
ArnasL Posted August 9, 2013 Author Share Posted August 9, 2013 I don't understand ;/ Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 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 More sharing options...
ArnasL Posted August 9, 2013 Author Share Posted August 9, 2013 How turn off function that first letter is united Now: "IPad" i need --> "iPad" Link to comment Share on other sites More sharing options...
ArnasL Posted August 9, 2013 Author Share Posted August 9, 2013 <!-- 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 More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 <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 More sharing options...
ArnasL Posted August 9, 2013 Author Share Posted August 9, 2013 O what about first letter is automaticly big Exemple: IPad I need: iPad Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 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 More sharing options...
Recommended Posts