Last updated March 26, 2011. Created by merlinofchaos on December 29, 2005.
Edited by linclark, sepeck. Log in to edit this page.
Sometimes the table is just not what you want there, but neither do you want one line per page. With this version of the summary you may want it embedded somewhere, because you may run into trouble with page-sizing. See the embedding example.
<?php
function phptemplate_views_summary_VIEWNAME($view, $type, $level, $nodes, $args) {
foreach ($nodes as $node) {
$item = views_get_summary_link($view->argument[$level]['type'], $node, $base);
}
$output = theme('links', ', ');
return $output;
}
?>