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
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

rmiddle - April 30, 2009 - 13:32
Status:patch (to be ported)» fixed

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

System Message - May 14, 2009 - 13:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.