How do I get more than 5 tagees to show for a TagNode?

For instance, for an Album, I want to show all its Songs rather than just 5 at the bottom.

Comments

dado’s picture

apologies for the delay.

For now you could write add the below function to your theme. Replace the "10" below with the number you want

function theme_tagnode_view_taggees($tagnode,$teaser,$number_to_show) {
  $number_i_really_want_to_show = 10;
  $returnhtml = "";
  if ($teaser) return theme("tagnode_view_taggees_teaser",$tagnode->tagnode->vid,$tagnode->tagnode->tid,$tagnode->tagnode->taggable_types);
  foreach($tagnode->tagnode->taggable_types as $taggable_type) {
      $returnhtml.=theme("list_tagnode_taggees_by_type", $tagnode,$taggable_type, $number_i_really_want_to_show);
  }
  return $returnhtml;
}
dado’s picture

Assigned: Unassigned » dado
Priority: Critical » Minor
dado’s picture

Status: Active » Postponed