francellasboutique Posted August 10, 2006 Share Posted August 10, 2006 1. I've been playing around with the header.php file, trying to get rid of the white space above my logo. (You can visit www.francellasboutiquedesigns.com/catalog to see what I'm talking about.) If I move a few tags around, the white space just shifts to underneath the logo. Here's the beginning of the script I have for the header file: <?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 (c) 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'); } ?><div class="fixcenter"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'FBDlogo.jpg', 'Francellas Boutique Designs') . '</a>'; ?></td> ??</td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="headerNavigation"> <td class="headerNavigation">??<?php echo $breadcrumb->trail(' ? '); ?></td> 2. Second problem: I read the post on inserting a new page in the tips section, and I just can't seem to get it right. I get errors stating that the file I created (about_us.php) doesn't exist. Can someone please walk me through the steps? :blush: 3. Ok, here's the last problem... I would like to have a new box added to the right column for customers to sign/log in with their email address and password. But I have no idea how to add the buttons for "sign in" and "forgot password" and what to link them to. Also, I'd like to remove the "Welcome guest would you like to log in..." and just have the log in box at the side... And advice?? Thanks in advance! Any help would be much appreciated! Link to comment Share on other sites More sharing options...
jhsands Posted August 10, 2006 Share Posted August 10, 2006 2. Second problem: I read the post on inserting a new page in the tips section, and I just can't seem to get it right. I get errors stating that the file I created (about_us.php) doesn't exist. Can someone please walk me through the steps? blush.gif Did you put about_us.php in the /includes/languagues/english/ directory? Evidently you added it to filenames.php since it is looking for the file. Check your /catalog/error_log and that will give some clue as to what's going on. 3. Ok, here's the last problem...I would like to have a new box added to the right column for customers to sign/log in with their email address and password. But I have no idea how to add the buttons for "sign in" and "forgot password" and what to link them to. Also, I'd like to remove the "Welcome guest would you like to log in..." and just have the log in box at the side... And advice?? http://www.oscommerce.com/community/contributions,2058 BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
jhsands Posted August 10, 2006 Share Posted August 10, 2006 2. Second problem: I read the post on inserting a new page in the tips section, and I just can't seem to get it right. I get errors stating that the file I created (about_us.php) doesn't exist. Can someone please walk me through the steps? blush.gif Did you put about_us.php in the /includes/languagues/english/ directory? Evidently you added it to filenames.php since it is looking for the file. Check your /catalog/error_log and that will give some clue as to what's going on. 3. Ok, here's the last problem...I would like to have a new box added to the right column for customers to sign/log in with their email address and password. But I have no idea how to add the buttons for "sign in" and "forgot password" and what to link them to. Also, I'd like to remove the "Welcome guest would you like to log in..." and just have the log in box at the side... And advice?? http://www.oscommerce.com/community/contributions,2058 BACKUP your current files before editing. Did I mention to BACKUP your current files, first? "I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!" Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.