Latest Publisher from GitHub
sabahan wrote:
ok i think got it..add featured image for random article
in items_random_item.php$mainImage = $itemsObj->getMainImage();
// check to see if GD function exist
if (!function_exists('imagecreatetruecolor')) {
$block['item_image'] = $mainImage['image_path'];
} else {
$block['item_image'] = PUBLISHER_URL . '/thumb.php?src=' . $mainImage['image_path'] . '&w=' . $imgwidth; // No $imgheight for autoheight option
}
template publisher_items_random_item.html<img src="<{$block.item_image}>" alt="" width="100" height="100" align="left" style="padding:5px;"/>
at first i got blank page because of this warning
//CAREFUL!! with many items this will exhaust memory
remove $block['lang_fullitem'] = _MB_PUBLISHER_FULLITEM;
notw its ok
Warning: Smarty error: unable to read resource: "db:extcal_view_calendar-month.tpl" in file /class/smarty/Smarty.class.php line 1100
goffy wrote:
Hi
did you already check, whether your provider changed something?