Hi
The sidebar-plugin is
calling an event and displaying the result:
Code: Select all
serendipity_plugin_api::hook_event('frontend_display:html_layout', $eventData);
echo $eventData['display_dat'];
Now, frontend_display:html_layout is used in serendipity_event_creativecommons.
There are several variations of this code:
Code: Select all
$eventData['display_dat'] .= '<img style="border: 0px" alt="' . $image_titel. '" title="' . $image_titel. '" src="' . serendipity_getTemplateFile('img/norights.png') .'" />';
But you are right: The crux of the issue is that the plugin does not have the image file available. I think that the images you need live in /templates/default/img. You could either move them to plugins/serendipity_event_createivecommons/img/, a directory that would need to be created, which I think is the best solution. Or you could add them to templates/2k11/img/
The image files I see are: norights.png, somerights20.gif. That is a bit strange, isn't it? Apart from mixing gif and png, shouldn't there be more images for the different type of CC-licences?