Guest Posted July 1, 2003 Posted July 1, 2003 Hi! I am trying to add a separator in between each product in the products listing module. Here is the page I am talking about: http://209.123.232.19/advanced_search_resu...p?keywords=test For the life of me I cannot find where to insert the separator code. Any help would be great? Thanks, Zac
Guest Posted July 2, 2003 Posted July 2, 2003 Put a seperator at the end of the line for the product table in the html code part of the file
Guest Posted July 2, 2003 Posted July 2, 2003 Looking at line 340: require(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); and includes/filenames.php, I would say that you would want to put it in product_listing.php. It might help someone else if you can post the exact place to make the change once you find it. Hth, Matt
Guest Posted July 2, 2003 Posted July 2, 2003 Yeah, that is my problem. It definitely is generated in the product_listings.php module, which uses osC's box class. I just can't seem to find where to edit that part. Thanks in advance! Zac
Guest Posted July 2, 2003 Posted July 2, 2003 Did you try line 63 of boxes.php? $tableBox_string .= ' </tr>' . "n"; It's the only place that I see an end of Table Row marker. Good luck, Matt
Guest Posted July 2, 2003 Posted July 2, 2003 Matt, Looks good. I changed this code (line 63 of /classes/boxes.php): $tableBox_string .= ' </tr>' . "n"; To this code: $tableBox_string .= ' </tr><tr><td colspan=4><hr noshade size="1"></td></tr>' . "n"; I can't seem to make it dynamically get the number of columns for the colspan, but it works for me and the display isn't going to change. Thanks so much!
Guest Posted July 2, 2003 Posted July 2, 2003 I think that the $n2 is the number of columns, if you decide that you need that in the future. Good luck, Matt
Barlach Posted July 2, 2003 Posted July 2, 2003 If u just need a line between the tablerows, can't u just add a border-bottom/top in the Product-Listing class in styles.css ? and maybe some cell padding if u need more space... Eagles may soar high, but weasels don't get sucked into jet engines. -D. Brent
Recommended Posts
Archived
This topic is now archived and is closed to further replies.