Filip_SK Posted March 10, 2016 Share Posted March 10, 2016 Ahojte, potreboval by som umiestnit odkaz na CMS clanok (FAQ) na vrchnu sedu listu - hned vedla odkazu na prihlasenie (screenshot prikladam). Ako sa to da spravit? Uz som prestudoval viacero diskusnych for, ale zatial bez vysledku :-( Dakujem vopred. Link to comment Share on other sites More sharing options...
WEBDVL Posted March 10, 2016 Share Posted March 10, 2016 Pokial by si tam mal odkaz na Kontaktujte nas tak staci pridat do temy Link to comment Share on other sites More sharing options...
Caleydon Posted March 11, 2016 Share Posted March 11, 2016 1. otvor si v editore subor /themes/<nazov sablony>/modules/\blockuserinfo/nav.tpl2. za kod <div class="header_user_info"> <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}"><i class="icon-signin left"></i> {l s='Log in' mod='blockuserinfo'}</a> </div> vloz nasledujuci kod: <div class="header_user_info"> <a class="login" href="{$link->getCMSLink('4', 'faq')}" title="{l s='FAQ' mod='blockuserinfo'}">{l s='FAQ' mod='blockuserinfo'}</a> </div> Miesto "4" vpis ID CMS stranky, ktory chces nalinkovat. 3. subor uloz a nahraj na server. Nezabudni vycistit cache systemu, ak mas zapnute zalohovanie (Nastroje > Vykon) Link to comment Share on other sites More sharing options...
Filip_SK Posted March 12, 2016 Author Share Posted March 12, 2016 1. otvor si v editore subor /themes/<nazov sablony>/modules/\blockuserinfo/nav.tpl 2. za kod <div class="header_user_info"> <a class="login" href="{$link->getPageLink('my-account', true)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Log in to your customer account' mod='blockuserinfo'}"><i class="icon-signin left"></i> {l s='Log in' mod='blockuserinfo'}</a> </div> vloz nasledujuci kod: <div class="header_user_info"> <a class="login" href="{$link->getCMSLink('4', 'faq')}" title="{l s='FAQ' mod='blockuserinfo'}">{l s='FAQ' mod='blockuserinfo'}</a> </div> Miesto "4" vpis ID CMS stranky, ktory chces nalinkovat. 3. subor uloz a nahraj na server. Nezabudni vycistit cache systemu, ak mas zapnute zalohovanie (Nastroje > Vykon) Dakujem Caleydon. S malymi zmenami ohladom DIVov to islo presne tak ako som potreboval. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now