hello

which part of the module (which function) i have to override to put instead of the textlink an image (or two - mark/unmark)?
did anybody did it before? ... i'm not a real expert in this override stuff ....

greetings momper

Comments

Nijip’s picture

I think that would be a good feature request. The option to have the text or a symbol.

momper’s picture

hello

maybe this is a small workaround with the css-classes:

.views-bookmark-mark {
background:url(xxx.png) no-repeat 0 0;
width:16px;
height:16px;
text-indent: -1000px;
overflow:hidden;
display:block;
}

and for unmark:

.views-bookmark-mark {
background:url(unmark_xxx.png) no-repeat 0 0;
width:16px;
height:16px;
text-indent: -1000px;
overflow:hidden;
display:block;
}

maybe you have to put a float, because you now have the "a" as a blocklevel element ...

but it would still be nice, to have a configuration possibility in the module :)

greetings momper

chadchandler’s picture

I needed this as well and contacted a developer for this. You can download the update in the feature requests section of this module :)

wim leers’s picture

Title: show the views bookmark link (mark/unmark) as an (mark/unmark) image » Show the Views Bookmarks link (mark/unmark) as an (mark/unmark) image

Here's the patch: http://drupal.org/node/172291. Please review it!

Features:
- images can be uploaded through the adminstration UI
- previews in the administration UI
- effects can be set as well

wim leers’s picture

Category: support » feature
Status: Active » Closed (duplicate)