Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove "What's new here"


david64

Recommended Posts

Posted

If anyone else had trouble removing this nasty little piece of code, hereis how you do it.

 

Download the index.php (the main one, not language)

search the code for all "HEADING_TITLE" entries and then remove them all.

 

e.g. <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

 

to

 

<td class="pageHeading"></td>

Posted

:'( Wow, took me hours in this forum to find out where to remove that "What's New Here" Text... My question is:

 

How do I just change the text ??? Have looked in almost every file to see if there is something in there that references it.

 

Please advise..

 

Many Thanks and Many Blessings

 

Magic7 :blink: :blush: (newbie..can you tell?) :rolleyes: :blink:

Posted
:'(  Wow, took me hours in this forum to find out where to remove that "What's New Here" Text... My question is:

 

How do I just change the text ???  Have looked in almost every file to see if there is something in there that references it.

 

Please advise..

 

Many Thanks and Many Blessings

 

Magic7  :blink:  :blush: (newbie..can you tell?) :rolleyes:  :blink:

 

Just go to:

... catalog\includes\languages

in all the main language file like english.php, usually at line number 79 you will find this definition:

define('BOX_HEADING_WHATS_NEW', 'What\'s New?');

 

Just replace it by the text you like to see on your site.

Bye :thumbsup:

Posted

Thank you so very much !!! :D

 

 

Just go to:

... catalog\includes\languages

in all the main language file like english.php, usually at line number 79 you will find this definition:

define('BOX_HEADING_WHATS_NEW', 'What\'s New?');

 

Just replace it by the text you like to see on your site.

Bye :thumbsup:

Posted

That was useful<g>.

 

Where do you change these two lines:

 

What's New Here?

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

They appear at the top of the catalog page.

Posted

Let me clarify my question: I know where to change

 

What's New Here?

 

It is: define('HEADING_TITLE', 'What\'s New Here?');

in: /public_html/catalog/includes/languages/english/index.php.

 

What I want to change (or remove) is this line:

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

 

Where do I change it or remove it?

Posted

To remove the famous (or infamous) "Welcome Guest..." message, just put in remark all echo tep_customer_greeting() function call in index.php page (usually at line 301).

  • 2 months later...
Posted
To remove the famous (or infamous) "Welcome Guest..." message, just put in remark all echo tep_customer_greeting() function call in index.php page (usually at line 301).

 

 

when i do that my page background turns white and it messes with my css...any thoughts thanks

  • 2 months later...
Posted

Just wanted to say hey thanks from us Newbies regarding this topic.. I've spent the past 36 hours trying to figure this bugar out!

Posted

Thanks everyone for the tips so far. What I would like to know is how to change "What's new here" to the name of the category that you're in. I've tried using the $category variable but it doesn't seem to work. Thanks for all the help.

Posted

Oh sorry, I was thinking about the "Let's See What We Have Here" instead of the "What's new here" line. First post on this forum and I mess up :rolleyes:

  • 1 month later...
Posted

I went into ...catalog/includes/languages/english.php to change the define('BOX_HEADING_WHATS_NEW', 'WHAT\'S NEW?'); to say something diff......I recieved the error message below:

 

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/themagaz/public_html/catalog/includes/functions/general.php:1259) in /home/themagaz/public_html/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/themagaz/public_html/catalog/includes/functions/general.php:1259) in /home/themagaz/public_html/catalog/includes/functions/sessions.php on line 67

 

 

I still recieve this message even after I swith the text back to the original.

 

 

Please...Please help me because my site does not work now :(

 

ben

  • 2 years later...
  • 5 weeks later...
Posted

To only erase "what's new here" and leave other headings or to change it to something else, just go to /includes/languages/english/index.php and scroll to the bottom and edit:

 

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What/s New Here?');

 

Change or delete, that's it.

  • 1 month later...
Posted

Below that there are 3 empty table cells.

 

It's still not aligning my tables correctly. How would I align the left column boxes, product listing & right column boxes across the top?

 

I know it's involved and I also know its in the main index.php.

 

Just cant work it out!

 

--EDIT--

I was right. Table/TR/TD tags needed removing, and after a lot of trial and error I sussed it.

I would explain, but it was such a long winded process I'm not sure, I'd get it right!

 

As long as you have a good idea on the coding for HTML tables, you may be able to work it out (I dont!) LOL

Posted
To only erase "what's new here" and leave other headings or to change it to something else, just go to /includes/languages/english/index.php and scroll to the bottom and edit:

 

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What/s New Here?');

 

Change or delete, that's it.

 

Thanks for this, has been bugging me for hours!

  • 3 weeks later...
  • 1 year later...
Posted
If anyone else had trouble removing this nasty little piece of code, hereis how you do it.

 

Download the index.php (the main one, not language)

search the code for all "HEADING_TITLE" entries and then remove them all.

 

e.g. <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

 

to

 

<td class="pageHeading"></td>

 

I tried creating a new row at the bottom and moving it there.. even tried deleting it.. and it's not affecting the site. I still see What's New Here. I know I can edit it using the index within language but what if I just wanna move it to the bottom? Is this an old hack that do not work anymore?

Posted
I tried creating a new row at the bottom and moving it there.. even tried deleting it.. and it's not affecting the site. I still see What's New Here. I know I can edit it using the index within language but what if I just wanna move it to the bottom? Is this an old hack that do not work anymore?

 

Please disregard this.. I was being stupid..

 

I was editing

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

on line 254

 

instead of..

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

which is on line 312

Archived

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

×
×
  • Create New...