Hello Hans
So this Plugin was a Pre Programming for the IE8 i did.
Make following Points sure:
The Plugin has to be on First Position from Plugins. Please reorder the Plugis in case it is not the first content Plugin in Row.
The Code of this Plugin is realy simple:
$mainframe->registerEvent( 'onBeforeDisplayContent', 'plgContentWebslice' );
$mainframe->registerEvent('onAfterDisplayContent' , 'plgContentWebslice_after');
function plgContentWebslice( &$row, &$params, $page=0 )
{
$plugin = & JPluginHelper::getPlugin('content', 'webslice');
// Load plugin params info from Plugin configuration in Joomla
$pluginParams = new JParameter($plugin->params);
$wslicesttlhorttlm = $pluginParams->def('wslicesttlhorttlm', 0);
$wslicesttlh = $pluginParams->def('wslicesttlh', 1);
$wslicesttlm = $pluginParams->def('wslicesttlm', 15);
//params from Joomla Framework
$uri = & JFactory::getURI();
$id = $row->id;
$title = $row->title;
$publish_down = $row->publish_down;
$state = $row->state;
$created = $row->created;
$modified = $row->modified;
// handler for no enddate
$wsispublish_down = $publish_down;
// output webslice
$html = '';
$html .= '<div class="clr"></div>';
$html .= '<div id="jwebslicecontent_'. $id .'" class="hslice">';
// Choice in Backend if Updatefrequencies in Minutes or Hours
if ($wslicesttlhorttlm == '0') {
$html .= '<span class="ttl" style="font-size: 0px; display:none;">'.$wslicesttlm.'</span>';
} else {
$html .= '<abbr class="ttl" style="font-size: 0px; display:none;" title="'.$wslicesttlh.'">Stunden</abbr>';
}
// If no enddate set for this content then do it also not set it in the endtimeclass
if ($publish_down == '0000-00-00 00:00:00') {
} else {
$html .= '<abbr class="endtime" title="'.$wsispublish_down.'"></abbr>';
}
$html .= '<div class="entry-title" style="font-size: 0px; display:none;">'. $title .'</div>';
$html .= '<div class="entry-content">';
return $html;
}
function plgContentWebslice_after( &$row, &$params, $page=0 )
{
global $mainframe;
$row->toc .= $html;
$html .= '</div>';
$html .= '</div>';
$html .= '<div class="clr"></div>';
return $html;
}
So how it Looks, about lot of Sites use the Plugin, so i will make a remake on version 1.2 for fix layout bugs.