acrylic-display Posted October 22, 2005 Posted October 22, 2005 hello, I hope someone can help me as this is driving me crazy! I have been creating my new site www.acrylic-display.co.uk but on the index page I only want to show 4 new products but at the minute it is showing 9 can someone please tell me what I need to change as I have been searching and searching but with no luck. Regards Adam
Guest Posted October 23, 2005 Posted October 23, 2005 goto your osc admin panel configuration->Maximum Values and change the New Products Module value to the number of items you want to show.
mrcheap Posted October 23, 2005 Posted October 23, 2005 how'd you get osc to work with a design like that? Did you make it yourself or did you buy the template with the osc already setup?
rikpotts Posted October 23, 2005 Posted October 23, 2005 Sorry to change the topic slightly but can someone help me change the colour of this box. At the moment I have an image in each of my box headings repeated x times (my image is only 2 pixels wide) How can I make this box the same as the other boxes? ie to include an image instead of having it the default grey. Ive looked through products_new.php but cant find what im looking for! Many Thanks Rik
♥Monika in Germany Posted October 23, 2005 Posted October 23, 2005 Sorry to change the topic slightly but can someone help me change the colour of this box. At the moment I have an image in each of my box headings repeated x times (my image is only 2 pixels wide) How can I make this box the same as the other boxes? ie to include an image instead of having it the default grey. Ive looked through products_new.php but cant find what im looking for! Many Thanks Rik you need to check what box class it's using new contentBox($info_box_contents); and then go to includes/classes/boxes.php to make the relevant changes. How did you change your other infobox headers? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
rikpotts Posted October 23, 2005 Posted October 23, 2005 you need to check what box class it's using new contentBox($info_box_contents); and then go to includes/classes/boxes.php to make the relevant changes. How did you change your other infobox headers? Thanks for your reply Monika. I changed the other boxes by adding... class infoBoxHeadingCategories extends tableBox { function infoBoxHeadingCategories($contents) { $this->table_cellpadding = '0'; $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'width="100%" class="infoBoxHeadingCategories"', 'text' => $contents[0]['text'])); $this->tableBox($info_box_contents, true); } } to includes/classes/boxes.php then new infoBoxHeadingCategories($info_box_contents, true, false); to includes/boxes/categories.php: then TD.infoBoxHeadingCategories { background: #33c3d3; background-image: url('images/some_graphic.gif'); background-repeat: no-repeat; } to the stylesheet The 'new products for October' doesnt have a .php file in /catalog/includes/boxes. This is why im stumped. Hope someone can help! Many Thanks Rik
acrylic-display Posted October 23, 2005 Author Posted October 23, 2005 Thank you so much enigma1. I cant tell you happy I am. You have made my weekend!
rikpotts Posted October 26, 2005 Posted October 26, 2005 ive just got it! after days and days! this bit of code is in includes/modules/new_products.php never mind, im going to comment it now anyway!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.