Ok I sorted it but, i`m confused how or why I had to leave in the if ($context['allow_calendar'])
It won`t work if I change the calendar to `shop` .see below//
Anyone any thoughts? or shall I just leave it like that ?
The [shop]!
if ($context['allow_calendar'])
echo '<a href="', $scripturl, '?action=shop"><img name="shop" id="shop" onmouseover="javascript:document.shop.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop_over.gif\'" onmouseout="javascript:document.shop.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop" style="margin: 0px 0;" border="0" /></a>';