sammys2010 Posted August 14, 2010 Share Posted August 14, 2010 Hello Everyone.I need to customize the permanent links block ( I need 5 icons linked to standard information pages, and remove sitemap and bookmarks ).I know that I have to edit the 2 permanentblocks .tpl modules and the translation file, but this not seem to be very simple.Could anyone help step by step ?Thank you in advanceSam Link to comment Share on other sites More sharing options...
rocky Posted August 15, 2010 Share Posted August 15, 2010 I'm not sure what's difficult about it. Edit modules/blockpermanentlinks-header.tpl, remove the sitemap and bookmark , then add a new for each item you want. For example, add the following to create an about link: <a href="{$base_dir}content/4-about-us" title="{l s='about' mod='blockpermanentlinks'}">{l s='about' mod='blockpermanentlinks'} This changes the link in the href and the two 'contact' texts to 'about'. It also changes the ID of the to make it unique so that you can apply an icon to it. To do that, add the following in the /* top links */ section of css/global.css in your theme's directory (and delete the sitemap and bookmark CSS): #header_links #header_link_about a { background-image: url('../img/icon/about.gif') } Then put the about.gif icon in the img/icon directory inside your theme's directory. 1 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