CroonerJE Posted June 18, 2009 Share Posted June 18, 2009 Since I am only working with the English language and US Dollars on my website, there really is no need to take up space on the header with these controls. I would like to remove them and create a better graphic header which would be visible across the width of the header. The only thing I want remaining is the "Shopping Cart" X Items" variable. What to do? See it at http://www.terrificbigbandcharts.com Link to comment Share on other sites More sharing options...
Gauravs Posted June 18, 2009 Share Posted June 18, 2009 Seems like you have found the solution, I don't see the extras in your site header ! Best Regards,Gaurav Link to comment Share on other sites More sharing options...
CroonerJE Posted June 18, 2009 Author Share Posted June 18, 2009 Hi Gary, Well I WAS making great strides... and YES I did manage to remove these fields I didn't need. I made a custom header graphic and everything... But NOW the page layout below the header is stretched to maximum left and right! http://www.terrificbigbandcharts.com I have no idea what has happened! I only edited the header.php - nothing else. I even went back and repasted in the surrounding php coding above and below the TABLE html, in case it was corrupted - no change. Any ideas?????? HELP! Seems like you have found the solution, I don't see the extras in your site header ! Link to comment Share on other sites More sharing options...
CroonerJE Posted June 18, 2009 Author Share Posted June 18, 2009 The saga continues.. Now I have another mess... I was customizing the header.php last night, making it look nice and removing the "currencies" and "languages" controls which I don't need. I succeeded doing this, but now all the page below is maxxed out to left and right! I didn't touch anything else! Only the header.php http://www.terrificbigbandcharts.com I even went back and REpasted the supporting php coding before and after the <!--- START ---><table></table><!--- END ---> commands, in case something was corrupted. NO CHANGE!! Any ideas? PLEASE HELP!! THANKS EVERYONE!! header.php coding is below... <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // 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'); } ?> <!-- start --> <table border="0" cellpadding="0" cellspacing="0" style="width:753px" background="http://www.terrificbigbandcharts.com/images/headerbacking.jpg" align="center" class="header"> <tr> <td width="283" height="85"></td> <td width="289" height="85"></td> <td width="46" height="85"><br style="line-height:24px"> <a href="<?=tep_href_link('shopping_cart.php')?>"><?=tep_image(DIR_WS_IMAGES.'z1.gif')?></a><br></td> <td width="135" height="85"><br style="line-height:26px"> <strong><?=BOX_HEADING_SHOPPING_CART?>:</strong><br><br style="line-height:1px"> <strong><a href="<?=tep_href_link('shopping_cart.php')?>"><?=$cart->count_contents()?> <?=BOX_SHOPPING_CART_EMPTY?></a></strong><br> </td> </tr> <tr> <td width="753" height="60" colspan="9"> <?=tep_image(DIR_WS_IMAGES.'line.gif')?><br> <br style="line-height:6px"> <a href="<?=tep_href_link('index.php')?>"><?php echo Tep_Image_Button('m1.gif')?></a><a href="<?=tep_href_link('products_new.php')?>"><?php echo Tep_Image_Button('m2.gif')?></a><a href="<?=tep_href_link('specials.php')?>"><?php echo Tep_Image_Button('m3.gif')?></a><a href="<?=tep_href_link('account.php')?>"><?php echo Tep_Image_Button('m4.gif')?></a><a href="<?=tep_href_link('contact_us.php')?>"><?php echo Tep_Image_Button('m5.gif')?></a><br> </td> </tr> </table> <!-- end --> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="1" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(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 border="1" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td> </tr> </table> <?php } ?> <!-- start --> </td> </tr> <tr> <td width="753" height="540"> <!-- end --> <?php define(MAX_DESCR_1,'60'); define(MAX_DESCR_NAME,'35'); define(MAX_DESCR_NAME_SHOPPCART,'20'); // customization for the design layout // how wide the boxes should be in pixels (default: 125) ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.