hmm...do you have the web developer plugin for firefox? that's what I've been using to figure out the different classes. You could also try looking at the source code, it should list it there too. I'm not familiar with the purpleshades template, but I've only seen odd and even product listings in the 'row' display. Do you have a site I can look at?
I hope this is of some help to you...
I added the following code to the file: '/includes/templates/mysite/common/tpl_columnar_display.php'
<?php
if ($title) {
echo $title;
}
if (is_array($list_box_contents) > 0 ) {
for($row=0;$row<sizeof($list_box_contents);$row++) {
echo "<tr>\n";
for($col=0;$col<sizeof($list_box_contents[$row]);$col++) {
echo '<td>';
$r_params = "";
if (isset($list_box_contents[$row][$col]['params']))
$r_params .= ' ' . (string)$list_box_contents[$row][$col]['params'];
if (isset($list_box_contents[$row][$col]['text'])) {
echo '<div' . $r_params . '>' . $list_box_contents[$row][$col]['text'] . '</div>' . "\n";
}
echo '</td>';
}
echo "</tr>\n";
}
}
?>
I put the actual table part in the tpl_modules_product_listings.php file:
<table id="productlistings" width="98%">
<?php
/**
* load the list_box_content template to display the products
*/
if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
} else {// (PRODUCT_LISTING_LAYOUT_STYLE == 'rows')
require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_tabular_display.php');
}
?>
</table>