Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Page Counter and Welcome Guest


jazzter

Recommended Posts

Posted

I am wanting to remove the page counter from the bottom of my page.

 

Does anyone know how to remove this?

 

I also want to remove on the main index page where is says "welcome Guest! Would you like to log yourself in? Or would you prefer to create an account"

 

Does anyone know how to remove that?

Posted

For the counter.

open catalog/includes/footer.php

 

and remove

<?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>

or change it to

<?php // echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>

incase you ever want to turn it back on in the future.

 

 

for the Welcome Guest you can either open index.php and look for

<?php echo tep_customer_greeting(); ?>

remove it or change it to

<?php // echo tep_customer_greeting(); ?>

so you can have it again easily

 

or you can go into your catalog/includes/languages/english.php

and near the bottom look for

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

and change it to

define('TEXT_GREETING_PERSONAL', '');

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
For the counter.

open catalog/includes/footer.php

 

and remove

<?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>

or change it to

<?php // echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>

incase you ever want to turn it back on in the future.

for the Welcome Guest you can either open index.php and look for

<?php echo tep_customer_greeting(); ?>

remove it or change it to

<?php // echo tep_customer_greeting(); ?>

so you can have it again easily

 

or you can go into your catalog/includes/languages/english.php

and near the bottom look for

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

and change it to

define('TEXT_GREETING_PERSONAL', '');

 

 

You are sensational. So Easy, thanks heaps. YOu have saved me hours

Posted

What about the section at the top that says What's New Here?

 

Do you know how to get rid of that one?

 

Thanks once again

Posted

language definition, suggest prior to you getting rid of it, find it in the index.php page and see what happens when you remove it, and go to other pages to see what happens to them, index.php is used for many things.

the only way you will learn the code is by reading it.

Archived

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

×
×
  • Create New...