dhooper Posted October 5, 2008 Posted October 5, 2008 I don't want new products listed. Can anyone tell me what code to remove? I can't seem to find this info. Diana
germ Posted October 5, 2008 Posted October 5, 2008 Remove "New Products for ..." If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
dhooper Posted October 6, 2008 Author Posted October 6, 2008 I'm new to this php coding. I think I'm not doing something right, as the box is not moving. I changed both the codes in the catalog/index.php to: <td><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> And added /* ..... */ to the modules/new_products.php file Now, this file, at the beginning I have: <!-- new_products //--> <?php /* ..... */ I also tried putting the /* ..... */ at the very top before the first <?php. When that didn't work, I put it after the first <?php. The end of the file now reads: /* ..... */ ?> <!-- new_products_eof //--> What am I doing wrong? Diana
germ Posted October 6, 2008 Posted October 6, 2008 <td><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> That's all you need to do (twice). I that doesn't work, I'll need your URL to be of any more help. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
dhooper Posted October 6, 2008 Author Posted October 6, 2008 I'm not really sure what I did differently, but it's gone. Thankx! :rolleyes: Diana
germ Posted October 6, 2008 Posted October 6, 2008 You may have been looking at your PC's cache of the page. Whenever I make a change to a page (or stylesheet) I always hold the <Ctrl> key down while doing a page refresh when looking at the new page. This forces the browser (IE and Firefox anyway) to fetch and display the latest contents from the server. ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.