I installed News Page and it worked great except the blogit blog.png was not showing up. It was registering a path of http:///misc/blog.png.
I fixed it by altering line 431 from:
if ($blogit) {
$blog_icon = '<a href="' . url('node/add/blog', "iid=$item->iid") . '"><img src="'. base_path() .'/misc/blog.png" alt="'. t('Blog this') . '" title="' . t('blog it') . '" class="blog-it"/></a>' ;
}to:
if ($blogit) {
$blog_icon = '<a href="' . url('node/add/blog', "iid=$item->iid") . '"><img src="'. base_path() .'../misc/blog.png" alt="'. t('Blog this') . '" title="' . t('blog it') . '" class="blog-it"/></a>' ;
}Just figured I'd post it so the issue (and fix) are known
Comments
Comment #1
robert castelo commentedJust needed to remove base_path().
I'll reduce this down to one l() later.