/includes/templates/[your template]/common/tpl_columnar_display.php
There are a ton of unnecessary "?><?php" pairs. That and the "\n" at the end of
are breaking the 3-column display of monthly specials and new arrivals.Code:echo '<div' . $r_params . '>' . $list_box_contents[$row][$col]['text'] . '</div>'. "\n";
If you are experiencing similar problems, take out the extra junk and things should be better.
The meat of my tpl_columnar_display.php now looks like this:
Thank you!Code:if($title) echo $title; if (is_array($list_box_contents) > 0 ) { for($row=0;$row<sizeof($list_box_contents);$row++) { $box=$list_box_contents[$row]; $params = ""; //if (isset($box['params'])) $params .= ' ' . $box['params']; for($col=0;$col<sizeof($box);$col++) { $r_params = (isset($box[$col]['params'])) ? (' '.(string)$box[$col]['params']) : ''; if (isset($box[$col]['text'])) { echo '<div' . $r_params . '>' . $box[$col]['text'] . '</div>'; } } echo "<br class='clearBoth' />"; } }


Reply With Quote
