Active
Project:
Websnapr Field
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2010 at 15:31 UTC
Updated:
20 Jan 2012 at 16:10 UTC
Just to rule out caching issues, I tried overriding a theme function from CCK, and that worked fine. So it really does seem to be specific to this module: I can't override theme_websnapr_field_formatter.
function phptemplate_websnapr_field_formatter($element) {
drupal_set_message("Lucy, I'm home!");
if ($element['#item']['url']) {
return websnapr_field_field_formatter($element['#field_name'], $element['#item'], $element['#formatter'], $element['#item']['url'], $element['#node']->title);
}
}
Comments
Comment #1
danepowell commentedHave you tried with the latest dev version? I expect this might work now...
Comment #2
danepowell commentedMarked #700350: theme function for websnapr as dupe