Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I make these 2 text lines unvisible?


Mike-USA

Recommended Posts

Posted

products_new.php

 

define('TEXT_DATE_ADDED', 'Date Added:');

define('TEXT_MANUFACTURER', 'Manufacturer:');

 

How do I make these 2 text lines unvisible or delete them without any errors?

I do not need them anywhere, how do I eliminate them everywhere in osCommerce?

 

Thanks

Posted

You mean you don't want them to appear in the actual browser display anywhere, right?

 

If so just define them like so:

 

define('TEXT_DATE_ADDED', '');

define('TEXT_MANUFACTURER', '');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
products_new.php

 

define('TEXT_DATE_ADDED', 'Date Added:');

define('TEXT_MANUFACTURER', 'Manufacturer:');

 

How do I make these 2 text lines unvisible or delete them without any errors?

I do not need them anywhere, how do I eliminate them everywhere in osCommerce?

 

Thanks

 

If it's only the label you wish to remove, you could change it to an empty string:

 

define('TEXT_DATE_ADDED','');

 

However that would not remove the value which appears after the label. To remove that you would need to remove the code that references these constants and which displays the value.

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Posted

I just add // before the line that I do not want on the page. That way if I want that back on that page I just delete the //. It is a good way to help trouble shoot code without making real changes.

Posted
None of these above worked :(

You can VIEW this as a GIF here at www.easynotespro.net/New-Products.gif

 

This issue is due to the language file not being found to begin with. It should be referencing this information in your includes/languages/english/new_products.php file. Does that file exist?

 

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Archived

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

×
×
  • Create New...