Mike-USA Posted January 21, 2006 Posted January 21, 2006 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
AlanR Posted January 21, 2006 Posted January 21, 2006 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)
tina_boots Posted January 21, 2006 Posted January 21, 2006 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.
stevenrwoolley Posted January 21, 2006 Posted January 21, 2006 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.
Mike-USA Posted January 21, 2006 Author Posted January 21, 2006 None of these above worked :( You can VIEW this as a GIF here at www.easynotespro.net/New-Products.gif
tina_boots Posted January 21, 2006 Posted January 21, 2006 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.