I would like each channel's most viewed section to have 25-30 videos listed instead of 5. I've tried searching the forum, but couldn't locate an answer. Does anyone know how to properly alter the $mostview section of the channel_detail.tpl file? Here is the snippet:
Code:<TR> {section name=k loop=$mostview} <TD style="WIDTH: 20%; TEXT-ALIGN: center" vAlign=top> <A href="{$baseurl}/view/{$mostview[k].VID}/{$mostview[k].title|lower|regex_replace:"/[^a-z0-9]+/":"-"}/"> [img]{$tmburl}/1_{$mostview[k].VID}.jpg[/img]</A> <DIV class=moduleEntrySpecifics style="FONT-WEIGHT: bold; PADDING-TOP: 5px"> {$mostview[k].title}</DIV> <DIV class=moduleEntrySpecifics>By: {insert name=id_to_name assign=uname un=$mostview[k].UID} {$uname}</DIV> <DIV class=moduleEntrySpecifics>Runtime: {$mostview[k].duration|string_format:"%.2f"}</DIV> <DIV class=moduleEntrySpecifics>Views: {$mostview[k].viewnumber}</DIV> <DIV class=moduleEntrySpecifics> {insert name=comment_count assign=commentcount vid=$recadd[j].VID} Comments: {$commentcount} </DIV> <SPAN class=rating> {if $mostview[k].ratedby gt "0"} {insert name=show_rate assign=rate rte=$mostview[k].rate} {$rate} (rated by {$mostview[k].ratedby}) {/if} </SPAN> </TD> {/section} </TR>


Reply With Quote
Bookmarks