HighHobbies.com Posted January 28, 2004 Share Posted January 28, 2004 I want the "New Products For January" section to be ONLY on the front page of my store. It is on every category page but I only want it on the front page... Anyone have any ideas? THANKS SO MUCH! ~GEORGE Link to comment Share on other sites More sharing options...
mtimdog Posted January 28, 2004 Share Posted January 28, 2004 <?php if ($HTTP_GET_VARS['cPath']=='') include FILENAME_NEW_PROD.... ?> remember that this gets included in 2 places on the index page. line 134 and 326 if I remember from an earlier post today. Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted January 28, 2004 Share Posted January 28, 2004 you will want to comment the first one and leave the second one. Link to comment Share on other sites More sharing options...
HighHobbies.com Posted January 28, 2004 Author Share Posted January 28, 2004 What about just on other pages besides the main page making the categories images and the new products separated more.. Now: PICTURE PICTURE PICTURE _______________________________________ NEW ITEMS FOR JANUARY _______________________________________ How do I make it: PICTURE PICTURE PICTURE _______________________________________ NEW ITEMS FOR JANUARY _______________________________________ Link to comment Share on other sites More sharing options...
mtimdog Posted January 28, 2004 Share Posted January 28, 2004 I thought you didn't want to show the new items on other pages. Well, if you do want to do that and put in some space... before the first include FILENAME_NEW_PROD echo out some <br> Link to comment Share on other sites More sharing options...
HighHobbies.com Posted January 28, 2004 Author Share Posted January 28, 2004 see im dumb, you have to tell me exactly what to put where... thanks Link to comment Share on other sites More sharing options...
JazzMan_Jay Posted January 28, 2004 Share Posted January 28, 2004 Hi Folks, I wonder how I can change manualy the "New Products in ...(for ex. January)". Any Idea? Wich date should I change ? Just want to push some products that I want to sell more than other ones. (I already update my database with .csv, that means that every products have the same dates...) Thanks Link to comment Share on other sites More sharing options...
HighHobbies.com Posted January 28, 2004 Author Share Posted January 28, 2004 Can anyone help me? Link to comment Share on other sites More sharing options...
HighHobbies.com Posted January 28, 2004 Author Share Posted January 28, 2004 What about just on other pages besides the main page making the categories images and the new products separated more.. Now: PICTURE PICTURE PICTURE _______________________________________ NEW ITEMS FOR JANUARY _______________________________________ How do I make it: PICTURE PICTURE PICTURE _______________________________________ NEW ITEMS FOR JANUARY _______________________________________ Any ideas? The one idea that guy had, I didnt get where to put what... Any help would be greatly appretiated. Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2004 Share Posted January 28, 2004 See...the index page is actually the same page that is used for the category listings...thats why you get teh New Products for <month> listed on the other pages. Its not until you go to the individual item pages that you get a fresh page called product_info.php. The index page is "re-used" as the category page and re-written in the browser by the script. That's why there are two instances of <?php if ($HTTP_GET_VARS['cPath']=='') include FILENAME_NEW_PROD....?> By commenting out the first one, which you do by adding //-- to the beginning of each line you want to comment out, you prevent the New Products for <month> box from being included when the page is rewritten for the categories....if you follow that. Now, to do this: Now: PICTURE PICTURE PICTURE _______________________________________ NEW ITEMS FOR JANUARY _______________________________________ How do I make it: PICTURE PICTURE PICTURE _______________________________________ NEW ITEMS FOR JANUARY _______________________________________ you will need to add this line: <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> at or around line 320 in catalog/index.php, just before <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> This basically adds a blank row to the table that makes up the main page, giving you blank space between elements. Do this as many times as you need to get the space you require, save the page, upload to server. As always, back up before making any changes. HTH Link to comment Share on other sites More sharing options...
Graveyard666 Posted January 28, 2004 Share Posted January 28, 2004 anyway to make the "new products for jan" disappear on every page? I don't want it at all.. Also, how do I change the width of the storefront.. goto http://www.graveyardrecords.com/catalog/index.php I want the store to be the same width at the Flash header (760 pixels) jeff Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2004 Share Posted January 28, 2004 Sorry...I thought you still wanted it on the front page. Just remove both instances of <?php if ($HTTP_GET_VARS['cPath']=='') include FILENAME_NEW_PROD....?> from catalog/index.php by either commenting out, or deleting completely. To fix the width of your site, there is a mod avaiable in "Contributions" called "center Shop" ... it allows you to specify the width of the table. you can get it here... osC-CenterShop v2.1 for MS2.2 HTH Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.