Example: How to Display a Summary View as a Comma Separated List
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;
}
?>
Have you ever tried to get
Have you ever tried to get list using <? $output = theme('links', ', '); ?> ?
I'm pretty sure it won't work.
RussianWebStudio: improving the web