Jump to content
DevFuse Forums
Sign in to follow this  

[3.3.X] [Videos System 2.3.X] Views in Sidebar hook


[b]SideBarHook - List View - Global Box Sort By?: Video Views:[/b]

First go to look &Feel>Skin>skins_video_external>SidebarHookTemplate

[b]Find:[/b]
[CODE]
<span class='date'>{$this->lang->words['vs_date_added']}: {parse date="$r['date']" format="long"}</span>
[/CODE]

[b]Add Directly Below:[/b]
[CODE]
<ul><li>{parse format_number="$r['views']"} {$this->lang->words['views']} {$this->lang->words['vs_views']}</li></ul>
[/CODE]

This will show the amount of views the video has in the sidebar template. I used this addition when I wanted the sidebar to show videos with the most views. it's really handy.

[b]ScreenShot:[/b]
[b][img]http://i.minus.com/i8gHX21VzmqwF.png[/img][/b]


Recommended Comments

There are no comments to display.

×