jcisar Posted December 18, 2004 Posted December 18, 2004 Hey, I am building an e-commerce site which sells bumper stickers. I am a relative osc newbie and a PHP dimwit who is having a couple of site realted issues. First, How do I get rid of those new error messages on my index.php page? Secondly, How do I eliminate one of the three products columns composing the center "New Products" catalog box? Having three columns in the center box causes side-to -side scrolling, which stinks. See my website or details. Click here for the Webpage Thanks, John :thumbsup:
Jack_mcs Posted December 18, 2004 Posted December 18, 2004 Those errors are there because a defined statement cannot be found. It looks like you may have one of the contributions installed that handles the text for you (Define Main Page I think). It is not installed correctly or is broken somehow. The second can be controlled with an option setting in configuration->maximum values. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
jcisar Posted December 18, 2004 Author Posted December 18, 2004 Those errors are there because a defined statement cannot be found.? It looks like you may have one of the contributions installed that handles the text for you (Define Main Page I think).? It is not installed correctly or is broken somehow. The second can be controlled with an option setting in configuration->maximum values. Jack <{POST_SNAPBACK}> Thanks Jack, In reference to the second suggestion, I'm a bit clueless. I dont even know how to write an options setting. I presume you are refering to the includes/configure.php file? I opened it and didnt see any value which defines ther number of columns in the center "new product" box. John
OceanRanch Posted December 18, 2004 Posted December 18, 2004 Jack is referring to the administration area of osCommerce. http://www.yourdomain.com/catalog/admin/index.php or the such. All kinds of goodies to setup and configure. Tom
jcisar Posted December 19, 2004 Author Posted December 19, 2004 Thanks Jack,In reference to the second suggestion, I'm a bit clueless. I dont even know how to write an options setting. I presume you are refering to the includes/configure.php file? I opened it and didnt see any value which defines ther number of columns in the center "new product" box. John <{POST_SNAPBACK}> I played with it as directed, but its not exactly what I expected. If more than 2 products are listed in teh "New for December" box , three columns are automatically utilized. I would like to list 8 items, but only use 2 columns with 4 rows. Thanks, John
Jack_mcs Posted December 19, 2004 Posted December 19, 2004 I think we may be talking about two different things here. The setting I mentioned is for the number of columns for categories. ut for new porducts, you probably want try this. Open includes/modules/new_products.php and find this code if ($col > 3) { Change it to whatever you want and see if that helps. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
jcisar Posted December 19, 2004 Author Posted December 19, 2004 I think we may be talking about two different things here. The setting I mentioned is for the number of columns for categories.? ut for new porducts, you probably want try this.? Open includes/modules/new_products.php and find this codeif ($col > 3) { Change it to whatever you want and see if that helps. Jack <{POST_SNAPBACK}> I set the value to "1" which reduced my columns by 1. So I went from 3 to 2, which is what I needed. Thanks Jack! :thumbsup: John
Recommended Posts
Archived
This topic is now archived and is closed to further replies.