Jump to content

how do i use a .gif file instead text for bookmark?


kkim

Recommended Posts

how do i use a .gif file instead text for bookmark?

on module named

Permanent 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 file

please help me out

thank you

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

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 by spc (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...