--- sites/all/modules/ticketyboo/ticketyboo.module.orig Mon May 10 12:46:12 2010 +++ sites/all/modules/ticketyboo/ticketyboo.module Mon May 10 14:21:03 2010 @@ -219,13 +219,25 @@ $ret .= ''; $i++; } + $dupCount = 1; + $count = $i; + if (($dupCount > 0) && ($count > 0)) { + for ($j = 0; $j < $dupCount; $j++) { + $node = node_load(trim($nodes[($j % $count)])); + $ret .= '
'; + $ret .= ''; + $i++; + } + } // build a wrapper for the contents if ($direction == 'horizontal') { - $w = count($nodes) * ($item_width + $item_spacing); + $w = ($dupCount + count($nodes)) * ($item_width + $item_spacing); $h = $item_height; } else { - $h = count($nodes) * ($item_height + $item_spacing); + $h = ($dupCount + count($nodes)) * ($item_height + $item_spacing); $w = $item_width; } $wrap_style = "width: {$w}px; height: {$h}px;";