Fix for list in template file when using teasers
miiimooo - April 30, 2009 - 13:24
| Project: | Similar By Terms |
| Version: | 6.x-1.18 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
<?php
if ($display_options == 'teaser') {
$output = '';
foreach ($items as $node) {
$output .= '<li>'. l($node->title, 'node/'. $node->nid);
$output .= ' - '. $node->teaser;
$output .= "</li>\n";
}
if ($output) {
echo "<ul>" . $output . "</ul>";
}
?>
#1
Ok that is a minor change. It looks like it has already been done in 5.x Committed to CVS will be in the next release.
Thanks
Robert
#2
Automatically closed -- issue fixed for 2 weeks with no activity.