I am used to modify the module so I can replate the text "Forward this page" with the image I'm attaching. Do you think it would be useful to add the option so people can select whether they want the text to appear or the image?

Comments

niklp’s picture

I'd like to see this, can you post a patch or some code please?

yurg’s picture

This works for me (put it in "yourtheme/style.css"):

.forward-page  {
background: url(path_to_you_image_here) no-repeat;  
font-size:0px;
}
seanr’s picture

Status: Active » Postponed

This can currently be done at the theme layer, and unfortunateyl I'm too busy to address it within the module right now. I may add this at a later date, though.

niklp’s picture

I have written a reasonably thorough blog post on exactly this in response to this thread. Unfortunately at this stage I still haven't managed to get this to work in a theme function. However, the code *should* be valid for that scenario, I've just not been able to get it to work. Probably some small gap in my knowledge of theming I think.

http://www.kinetasystems.com/blog/theming-the-links-variable-in-drupal-n...

If anyone can fix the code so that it will work in a theme function, then an addition to the README file would be possible, or potentially it could be added to the module directly. Please contact me, leave a note here, or on the blog post if you get this working via the theme layer.

Hope that helps.

john.oltman’s picture

Status: Postponed » Closed (works as designed)