Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header line and Footer line


bksmartit

Recommended Posts

Posted

I am just newbie here and I have a question...

 

On the main page in the "Header bar" there is showing links "Top >> Catalog"

I would like to remove "Top >>" and rename "Catalog" to 'Home"

 

Also in the Footer bar there is showing info "00000 requests since Tuesday 05 February, 2008" I would like to remove "since Tuesday 05 February, 2008" and just leave "00000 requests"

 

I am wondering if there is any one could help me

 

Thank you

Posted

Believe you would have rename your catalog file to home and then edit your configure.php files to reflect this change. Removal of top would take some more work. A google of this forum will turn up how to do it.

 

The knowledge base has some info on the footers I believe.

 

http://www.oscommerce.info/kb/osCommerce/Catalog_Area/Boxes

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

example for english (repeat for each language)

 

Open the file catalog\includes\languages\english.php

 

find and replace

define('HEADER_TITLE_TOP', 'Top');

define('HEADER_TITLE_CATALOG', 'Catalog);

 

with

 

define('HEADER_TITLE_TOP', '');

define('HEADER_TITLE_CATALOG', 'Home');

 

for footer open catalog\includes\footer.php

 

and edit (line 18 or so)

 

<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

 

to

<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE ; ?>  </td>

 

and in catalog\includes\languages\english.php

 

edit define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

 

to define('FOOTER_TEXT_REQUESTS_SINCE', 'requests');

 

 

Hope that helps

Regards, web-junkies

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...