osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

delete from index.php the 4 headerlinks: how?+ grey nav?

This is a discussion on delete from index.php the 4 headerlinks: how?+ grey nav? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I do want to remove the 4 links in the heading of oscommerce - oscommerce.gif- link - account.gif link-link - ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-21-2005, 01:54 PM
Member
 
Join Date: Jan 2005
Location: Holland
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doumawis
Default delete from index.php the 4 headerlinks: how?+ grey nav?

I do want to remove the 4 links in the heading of oscommerce
- oscommerce.gif- link
- account.gif link-link
- cartcontent.gif-link
- checkout.gif- link

i do know how to remove the boxes via the guide, but this?

Question also? : how do you call this grey navigation bar in the header with information about the displayed pages? => i want connect a page to the " top"page and chance the grey strip in a another texture / color/ text.

Doumawis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-21-2005, 03:58 PM
developer_x's Avatar
Active Member
 
Join Date: Nov 2004
Location: Digital Infoway
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
developer_x
Default RE: delete from index.php the 4 headerlinks: how?+ grey nav?

To remove the four gifs and links, open the file catalog/includes/header.php. Search for
Quote:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
Replace it with:
Quote:
<td valign="middle"><?php //echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
<td align="right" valign="bottom"><?php //echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
To add a new link to the navigation bar search for the below coding in the same file:

Quote:
<td class="headerNavigation">  <? php echo $breadcrumb->trail(' » '); ?></td>
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
Look carefullly how the files such as account.php (FILENAME_ACCOUNT) are hyperlinked. You just need to change that name to your file's name.
and add the link of the file you need to add in a similar fashion.
You must know how to add a new file to the catalog though.
To change the color of the bar, I guess you need to view the change a color code in the catalog/stylesheet.css file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-22-2005, 01:51 AM
Member
 
Join Date: Jan 2005
Location: Holland
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doumawis
Default Re: RE: delete from index.php the 4 headerlinks: how?+ grey

Thanks!

You outcomment the 2 php commands involved for these links: i removed the whole html table stucture: but i was not satisfied with this solution
So this is better

That navigationbar is give troubles to chance
- top => home
-catalog => products
-cart content => shopping car
whatelse : yes chance the dimension and color/texture

i do have also a another interesting question( i post this topic too) how to get a homepage what starts up with the index.php and the catalog(products ) on a another page? see http://www.streetpower.se/catalog/

i have to make this also for a stand alone oscommerce

doumawis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-22-2005, 02:03 AM
Member
 
Join Date: Jan 2005
Location: Holland
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doumawis
Default Re: RE: delete from index.php the 4 headerlinks: how?+ grey

Quote:
Originally Posted by doumawis
Thanks!

You outcomment the 2 php commands involved for these links: i removed the whole html table stucture: but i was not satisfied with this solution
So this is better
No, i have still to remove the html table structure to because the navigationbar has to as close as possible to the logo see http://janzerospec.com/

That brings me on another issue: the navigationbar must touch the logo
So: the html tablestructure where the php navigationcode is embedded must also ( i think?) be removed: i try this

Note: it should be handyto outcomment the HTML code, but how?

Doumawis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
please delete markymrk22 osCommerce 2.2 Discussion 0 09-02-2005 04:15 PM
Need to delete table_background_default from ?header? MysticalMoon osCMax v1.7 Discussion 3 07-30-2004 11:57 AM
Can't delete an admin user SyraxSinister osCMax v1.7 Discussion 0 07-20-2004 08:37 AM
Trying to delete categories problem need help nopie osCMax v1.7 Installation 1 12-11-2003 02:29 PM
Can't delete customers from admin Anonymous osCMax v1.7 Discussion 2 10-01-2003 12:04 AM


All times are GMT -8. The time now is 03:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax