dixie1471 Posted October 14, 2010 Posted October 14, 2010 On my new site - http://www.portabledvdplayerspares.co.uk I am needing to change the DVD, Hardware and Software within the Headings. I cant find this option anywhere in V2.2RC2 which I have been given. Also, if you click onto the test item which I have put on there, the Shopping Cart and Manufactuers Info boxes are spread across the page. and 1 last thing, can I Hide the Product Model part [9V5.5M] which is my note for what to pick for that order but a little bit too much information which i wouldnt want my competitors to see. I would like to use this box, as it comes into the email which notifies us of the sale but I dont want it to be visable to the users of the site. Any advice?
Guest Posted October 14, 2010 Posted October 14, 2010 Nigel, What you have there is a poorly written template. You will find the Menu Tabs and links in the header.php file. The product_info.php file has some tables out of alignment and they will need to be fixed so the product information page appears properly. You can hide the MODEL by changing display properties in the admin area under configuration. Chris
dixie1471 Posted October 14, 2010 Author Posted October 14, 2010 Nigel, What you have there is a poorly written template. You will find the Menu Tabs and links in the header.php file. The product_info.php file has some tables out of alignment and they will need to be fixed so the product information page appears properly. You can hide the MODEL by changing display properties in the admin area under configuration. Chris Thanks Chris, the Header file looks like this - <?php // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table width="780" cellspacing="0" cellpadding="0" align="center" border="0"> <tr> <td width="320" height="70" valign="middle" align="left" background="images/header_left_bg.jpg" style="background-repeat:no-repeat;"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> <td width="460" height="70" valign="middle" align="center" background="images/header_right_bg.jpg" style="background-repeat:no-repeat;"> <table width="460" cellspacing="0" cellpadding="0" align="center" border="0"> <tr> <td width="140" height="45" valign="bottom" align="center"><?php require(DIR_WS_BOXES . 'search.php'); ?></td> <td width="320" height="45" valign="top"> <table width="320" height="45" cellspacing="0" cellpadding="0" border="0"> <tr> <td width="320" height="25" align="center" valign="top" class="txt1"><div style="padding-top:8px;"><?php require(DIR_WS_BOXES . 'languages.php'); ?></div></td></tr> <tr> <td width="320" height="20" align="center" valign="middle" class="txt1"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="txt1"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="txt1"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="txt1"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="txt1"><?php echo HEADER_TITLE_CHECKOUT; ?></a></td></tr> </table> </td></tr> <tr> <td colspan="2" width="460" height="25" align="right" valign="bottom" class="txt1"><div style="padding-bottom:7px;padding-right:8px;"><?php echo $breadcrumb->trail(' » '); ?></div></td></tr> </table> </td> </tr> </table> <table border="0" width="780" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="780" height="24" valign="middle" align="center" height="24" background="images/header_menu_bg.gif" class="txtheader"><?php require(DIR_WS_INCLUDES . 'menu.php'); ?></td></tr> </table> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td> </tr> </table> <?php } ?> Any idea what I can change it to? The product page layout I will come back to. The Display Product Model has a 0 next to it and I thought putting a 1 shows it on the previous screen. The 0 still makes it show in the product page. Your help is appreciated.
Guest Posted October 14, 2010 Posted October 14, 2010 Nigel, This is the code that effects that custom menu bar: <table border="0" width="780" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="780" height="24" valign="middle" align="center" height="24" background="images/header_menu_bg.gif" class="txtheader"><?php require(DIR_WS_INCLUDES . 'menu.php'); ?></td></tr> </table> Check the menu.php file for the links. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.