Closed (fixed)
Project:
Forward
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2012 at 20:42 UTC
Updated:
28 Mar 2013 at 02:30 UTC
AFAICT there is no way to replace the icon or theme it.
Comments
Comment #1
john.oltman commentedYou can use hook_node_api when op=view to replace the link with the markup you want. Or you can output a text link and use CSS.
a.forward-page {
display: block;
width: 32px;
height: 32px;
background: url('/path/to/myImage.png') bottom;
text-indent: -99999px;
}
Changing to feature request to make this more easily changed via a theme function.
Comment #2
joachim commented> to replace the link with the markup you want
Isn't already a full HTML element by then?
At any rate, it was in the block that I wanted this, where there no means of alteration and the only theme call is to theme_image().
Comment #3
john.oltman commentedIn D7, you can use hook_block_view_alter. In D6, I believe you are stuck with the CSS approach.
Comment #4
john.oltman commentedComment #5
john.oltman commentedA custom icon and better theme capability has been added to 7.x-2.x