Closed (duplicate)
Project:
Views Bookmark
Version:
5.x-1.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2007 at 11:16 UTC
Updated:
2 Oct 2007 at 22:19 UTC
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
Comment #1
Nijip commentedI think that would be a good feature request. The option to have the text or a symbol.
Comment #2
momper commentedhello
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
Comment #3
chadchandler commentedI needed this as well and contacted a developer for this. You can download the update in the feature requests section of this module :)
Comment #4
wim leersHere'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
Comment #5
wim leers