
Originally Posted by
willie bee
Hey there I got this working and the logo shows up BUT when I used the optional 'use the logo as a link' the logo doesn't show up but the link works, if you can find it by hovering around the box until you can click somehting.
Here is what I have so far.
define('BOX_HEADING_GIFT_CERTIFICATES', '');
//Logo number 1
define('GIFT_CERTIFICATES_IMAGE_WIDTH', '125');
define('GIFT_CERTIFICATES_IMAGE_HEIGHT', '125');
define('GIFT_CERTIFICATES_IMAGE', 'gift_certificates.jpg');
define('GIFT_CERTIFICATES_IMAGE_TEXT', 'Gift Certificates');
define('LOGO_IMAGE', zen_image($template->get_template_dir(GIFT_CERTIFICATES_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . GIFT_CERTIFICATES_IMAGE, GIFT_CERTIFICATES_IMAGE_TEXT, GIFT_CERTIFICATES_IMAGE_WIDTH, GIFT_CERTIFICATES_IMAGE_HEIGHT));
//this is optional if you want to use the logo as a link
//add your link information to the define statement below
//example
//define('GIFT_CERTIFICATES_LINK', '" rel="external" target="_blank"');
define('GIFT_CERTIFICATES_LINK', 'index.php?main_page=index&cPath=3718');
//DO NOT edit below this line
if (GIFT_CERTIFICATES_LINK == '') {
define('LOGO_IMAGES', LOGO_IMAGE);
}else {
define('LOGO_IMAGES', '<a href="' . GIFT_CERTIFICATES_LINK . '>' . LOGO_IMAGE . '</a>');
}