A start for easily altering text string in theme. I'm certain this could use more work, so I'm just throwing it up here from any interested person.

CommentFileSizeAuthor
#2 add_theme_hooks-1293900-2.patch3.33 KBAnonymous (not verified)
#1 add-theme-hook-1293900-1.patch3.28 KBtnanek
add-theme-hook-00-00.patch1.34 KBn8tron

Comments

tnanek’s picture

StatusFileSize
new3.28 KB

I did this in a more general way for any of the formatters in the module. This permits maximum flexibility, which is always a good thing, in my opinion. (I didn't see this prior to now, so I used my own approach for a similar issue). Hopefully, this will be committed, and then I can continue to tweak the module from there.

I tested all the formatters, and the only one which doesn't seem to output anything as of now for me is the spamspan. Though that may be due to a problem with the other module, on a brief glance it looks right.

Anonymous’s picture

Title: Provide theme hook to easily format text string in link » Provide theme hooks to format output
Version: 7.x-1.0 » 7.x-1.x-dev
StatusFileSize
new3.33 KB

The patch from #1 didn't apply for me, so I made an updated version that includes some formatting changes so it adheres to Drupal's coding standards.