AFAICT there is no way to replace the icon or theme it.

Comments

john.oltman’s picture

Title: forward link icon is hardcoded » Theme the forward link and icon
Version: 6.x-1.x-dev » 7.x-1.x-dev
Category: bug » feature

You 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.

joachim’s picture

> 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().

john.oltman’s picture

In D7, you can use hook_block_view_alter. In D6, I believe you are stuck with the CSS approach.

john.oltman’s picture

Status: Active » Closed (works as designed)
john.oltman’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Closed (works as designed) » Fixed

A custom icon and better theme capability has been added to 7.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.