kkim Posted January 17, 2011 Share Posted January 17, 2011 how do i use a .gif file instead text for bookmark?on module namedPermanent links block v0.1(Adds a block that displays permanent links such as sitemap, contact, etc.)[scripttype=text/javascript]writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '{l s='BOOKMARK' mod='blockpermanentlinks'}');[/script]I want to remove text ‘BOOKMARK’ and use a custom .gif fileplease help me outthank you Link to comment Share on other sites More sharing options...
kkim Posted January 29, 2011 Author Share Posted January 29, 2011 bumpstill looking for solution.. Link to comment Share on other sites More sharing options...
spc Posted November 27, 2012 Share Posted November 27, 2012 (edited) hello I have the same problem, i whant to remove the text Bookmark and just have a picture... i manage to fix it my self... in the global.css #header_links #header_link_sitemap a { background-image: url('../img/icon/sitemap.png') } #header_links #header_link_contact a { background-image: url('../img/icon/contact.png') } #header_links #header_link_bookmark a { background-image: url('../img/icon/star.png') } then in the modules/blockpermanentlinks/blockpermanentlinks-header.tpl change : <li id="header_link_bookmark"><script type="text/javascript">writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '{l s='bookmark' mod='blockpermanentlinks'}');</script></li> to: <li id="header_link_bookmark"><script type="text/javascript">writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '');</script></li> then go to Back Office - Prefences - Preformance and change the Force compile to yes... this works in PS 1.4.7.0 Edited November 27, 2012 by spc (see edit history) 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