star8 Posted December 11, 2006 Posted December 11, 2006 HI! I want to remove the box and the title around the "new products in december" . I want just to feature products not in the box. Where do I remove it? Please help! :'( Thanks.
jdvb Posted December 11, 2006 Posted December 11, 2006 in includes/modules/new_products.php change: $info_box_contents = array(); $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'))); new contentBoxHeading($info_box_contents); to echo "<table><tr><td>" . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . "</tr></td></tr>"; and change new contentBox($info_box_contents) to something like echo "<tr><td>" . $info_box_contents . "</td></tr></table>"; have fun trying out your own layout there :D
jdvb Posted December 11, 2006 Posted December 11, 2006 hmm, that last would not work since it is an array: you could then change that last one to: echo '<tr><td>'; for($aa=0, $bb=sizeof($info_box_contents); $aa<$bb; $aa++){ echo $info_box_contents[$aa][1] . '<BR />' . $info_box_contents[$aa][2] . '<BR />' . $info_box_contents[$aa][3]; if(($aa+1)<$bb) echo '<BR />'; } echo "</td></tr></table>"; so new contentBox($info_box_contents) is replaced with the above feel free to replace the <BR /> with any code you would like to see there.
star8 Posted December 12, 2006 Author Posted December 12, 2006 Thank you very much Jontathan. It worked.!! :rolleyes:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.