osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How to get rid of "New Products For Month"??

This is a discussion on How to get rid of "New Products For Month"?? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I'm really not liking that box and how the heck do I get rid of it? I've been looking and ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-17-2004, 06:39 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default How to get rid of "New Products For Month"??

I'm really not liking that box and how the heck do I get rid of it?
I've been looking and can't figure out where to comment it out??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-21-2004, 10:07 AM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

*bump* Help!?
I installed a contrib that allows you to customize info boxes seperatly, but of course it does not control that box. I would be happy to just be able to get the background color of the header. I just don't like the way it lines up with the rest of the page. Anyone?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-21-2004, 11:23 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

not quite sure what you mean in your second post but if you want to get rid of the box just look in templates/content/index_default.php (assuming you're using an AAMAX version of oscommerce) and comment out the line

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

ie change to (note the //)

<?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-23-2004, 08:12 AM
jpf's Avatar
jpf jpf is online now
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,577
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Quote:
Originally Posted by jonthewebb
not quite sure what you mean in your second post but if you want to get rid of the box just look in templates/content/index_default.php (assuming you're using an AAMAX version of oscommerce) and comment out the line

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

ie change to (note the //)

<?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
I think you mean comment out:
<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

by change it to:

<?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
?>
(note the '?>' on a new line)
or
<?php /* include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); */ ?>

Good Luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-23-2004, 09:07 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

hmm

I know what you mean, but I find PHP recognises the closing ?> even on the end of a commented line....


jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-24-2004, 02:25 PM
jpf's Avatar
jpf jpf is online now
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,577
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Well spank me sam.....

PHP I guess know that but accoring to what I have seen and code that I have used - it normally is not witten that way.

I have allways seen '?>' pushed on to another line or use '/* ... */ ?>'

I stand corrected then. Thanks.

Another thing to add to my list.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-24-2004, 03:48 PM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default




I think I only found by accident, and I don't know if it works on all versions

and it's almost certainly bad coding practice, I guess other languages don't work like that. But PHP is very forgiving of things like that, for better or worse....


jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 03-08-2004, 08:12 AM
Member
 
Join Date: Oct 2003
Location: The Antelope Valley in SoCal
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
In-Overtime
Default Upcoming Products & What's New for . . . getting rid of

I have been busitng my brain trying to figure it out. The above posts did the trick.

For the newbies (and I am not that so far from that), the files located inside the catalog/templates/content/ directory are index_nested.tpl.php and index_default.tpl.php

I was making the mistake of using an HTML comment <!--   --> on the <TR></TR> sections, instead of the /*   */ comment within the <?php include. . . . ?>.

Thanks! Now on to bigger and better things . . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Remove "QTPRO" for "Option Type Feature" adam71o osCMax v2 Customization/Mods 3 01-10-2007 10:32 AM
Unlinking "Specials For" and "New Products Fo bsa osCMax v1.7 Discussion 5 04-19-2004 11:29 AM
Font color on "Specials" and "New Products&qu gheffron osCommerce 2.2 Installation Help 3 04-01-2004 02:40 AM
Removing price listing from "New Products For ..." JGofGFS osCommerce 2.2 Modification Help 1 03-31-2004 11:34 AM
Need help displaying "New Products" on static html dojen13 osCommerce 2.2 Modification Help 0 07-13-2003 06:58 AM


All times are GMT -8. The time now is 02:13 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax