This is a discussion on semi-urgent plea for some clarification within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I am trying to make sense of part of the osCDOX. Surely someone else has run into this before. I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I am trying to make sense of part of the osCDOX. Surely someone else has run into this before. I have tried searching on "limit new product list" and all kinds of variations and had no success finding how to accomplish Limiting "New Products" listing to something less than the entire contents of the database. The "Installation / Modification Guide" from OSCDOX.com seems (to my denseness) to be missing some steps regarding "Products limited to a few on "new products" instead of listing wht whole database: I am pleading for some help with this... Perhaps even a pointer to where it has been dealt with before? I know I can be more dense than a door sometimes... I don't think this is one of those times... Thanks in advance for very needed assistance! jLee |
|
#2
| ||||
| ||||
| It is not the clearest in the guide. Here is a rundown. On about line 56 of /catalog/products_new.php you will find this line: Quote:
Next, in /catalog/includes/modules/new_products.php find the following lines, adding the bold text: Quote:
Quote:
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| I carefully made the changes to the two files after restoring them to "factory fresh" condition. It continues to list the entire database in the "New Products" listing, as can be seen at url: http://httpsuites.com/oscommerce/pro...ew.php?page=95 Products added on January 1 and products added on December 30 appear on the page. The page bottom indicates the rest of the database is waiting to be displayed also. quote Displaying 941 to 950 (of 1522 new products) Result Pages: [<< Prev] ... 91 92 93 94 95 ... [Next >>] /quote The OSCDOX "...Guide" mentions changing "3 files". Did that mean 3 lines in two files? Or are there changes to be made to another file to complete the modification? I hope the "Installation and Modification Guide" can be updated to clarify this procedure, once it has been made clear. Thanks again for all help with this. jLee |
|
#4
| ||||
| ||||
| I missed a step... It was late I tell ya! You also need to add the following to /catalog/products_new.php: Quote:
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| Thank you!!!! Roger on the late... I'm in central time. jLee |
|
#6
| |||
| |||
| With that last piece of code, all is well with the world... well, a certain part of my worl anyway! Page 95 no longer has any product entered in December! You are a blessing! When I can, I will contribute! Still have much to do! Until the next time... God bless! jLee |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| urgent need help: Register_Globals | flyinrookie | osCommerce 2.2 Modification Help | 3 | 03-05-2006 12:33 AM |
| page_parse_time.log error on site | Walter | osCommerce 2.2 Modification Help | 4 | 11-27-2005 03:14 AM |
| URGENT - PLEASE HELP - PWA Problem | ukgoods | osCommerce 2.2 Modification Help | 1 | 07-29-2004 10:31 AM |
| New to here, need urgent helps, thanks a lot | crus | osCommerce 2.2 Modification Help | 1 | 02-26-2003 02:59 PM |