Clyde,
I'm having a problem with my logo sidebox & I'm hoping you can help.
First of all, I have been trying to change NOTICES & ANNOUNCEMENTS (the sidebox heading) to say SEE WHAT'S NEW. Should be simple enough, but every time I change the wording, I get a parse error and it disables the whole site.
I've been changing it in the logo_sidebox_defines.php file here:
define('BOX_HEADING_LOGO_SIDEBOX', 'NOTICES & ANNOUNCEMENTS');
The next problem is making the image work as a link. Here's what I have in the different files.
logo_sidebox_defines.php:
define('BOX_HEADING_LOGO_SIDEBOX', 'NOTICES & ANNOUNCEMENTS');
define('LOGO_SIDEBOX_IMAGE_WIDTH', '125');
define('LOGO_SIDEBOX_IMAGE_HEIGHT', '150');
define('LOGO_SIDEBOX_IMAGE', 'peek.gif');
define('LOGO_SIDEBOX_IMAGE_TEXT', 'Pet Tag Previewer');
//this is optional if you want to use the logo as a link
//replace your_link.com with the link you choose
define('LOGO_SIDEBOX_LINK', 'http://www.kings-kreations.com/previewer');
?>
and in tpl_logo_sidebox.php I have this:
$logoimage = '<a href="' . LOGO_SIDEBOX_LINK . 'http://www.kings-kreations.com/previewer">' . zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT) . '</a>';
//comment this out if you use the above link option.
$logoimage = zen_image($template->get_template_dir(LOGO_SIDEBOX_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . LOGO_SIDEBOX_IMAGE, LOGO_SIDEBOX_IMAGE_TEXT);
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '">';
$content .= $logoimage;
$content .= '</div>';
?>
WHAT am I missing??
TIA,
Mindy





