Right now, activity stream only allows items to be themed using theme functions. I believe it would be desirable to allow sub modules to theme their activity stream items using theme templates or theme functions. I have attached a patch to make this possible.

Comments

elliotttf’s picture

StatusFileSize
new1.14 KB

Re-rolled patch: I forgot to pass the arguments to hook_theme().

akalsey’s picture

Status: Needs review » Needs work

$action isn't defined -- I suspect you mean $item?

morbus iff’s picture

Status: Needs work » Closed (won't fix)

This is possible in 7.x-3.x using preprocessing hooks, hook_theme_alter(), and/or theme suggestions. Closing.