More than 5?
ethank - December 20, 2005 - 21:18
| Project: | Tagnode |
| Version: | 4.6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | minor |
| Assigned: | dado |
| Status: | postponed |
Jump to:
Description
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.

#1
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;
}
#2
#3