Thnx clyde for the response, unfortunately i got this error after made changes to my tpl_header.php
Parse error: syntax error, unexpected T_STRING in
public_html/includes/templates/mytemplate/common/tpl_header.php on line
72
this is what i added to my header.php :
PHP Code:
// added image for header
define('FREE_ALT_TEXT', 'Free Shipping Image');
define('FREE_LOGO_WIDTH', '168px');
define('FREE_LOGO_HEIGHT', '65px');
define('FREE_LOGO_IMAGE', 'header_bg.jpg');
and this in my tpl_header.php :
PHP Code:
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<div id="logo"><?php echo zen_image($template->get_template_dir(FREE_LOGO_IMAGE DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . FREE_LOGO_IMAGE, FREE_ALT_TEXT) ; ?></div>
is there something wrong? i dont know whats wrong with it..
Bookmarks