We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Featured videos on the front page? | Forum

Kobe White
Kobe White Jan 29 '14

Hey, first off I like to say thanks for providing great software!
So far its exactly what I am looking for.


Now my question is; how would I go about showcasing featured videos on the front page of the site?
My new site is more based around videos, and I want guest/ potential users to see “featured videos” as soon as they visit my site. I have searched the forums/documents, and nothing seems to answer my needs. Is there a code I code use to showcase “featured videos” without having the user click on a link.

Are the templates based on “Smarty”? Or is there another code I should be using?If its smarty base then could someone please guide me; as its been many years ( first year of phpnuke).


Now I have been running Joomla and Wordpress sites for years, but for some reason my question on “featured videos” on the front page is stumping me. Maybe I am overlooking something?

Any and all help would be greatly appreciated.


p.s. I hope this is the correct area.

The Forum post is edited by Kobe White Jan 29 '14
Petar Šlat
Petar Šlat Jan 29 '14
Really interesting :)

I think you will have to make a plugin for that.


First, you have to have ability to mark video as featured.

Secondly, a widget that pulls marked videos from DB has to be made :)


How many featured videos do you want to show? In what manner?

Kobe White
Kobe White Jan 30 '14

Petar, thanks for the reply. I think a plug in or feature would be great.
I was thinking of having a "Top Ten" ,or a setting to feature more or less amounts.


I was hoping to have a code to use (like a Smarty function)

I'll do some more looking into this over the next few days.

If anyone else has an idea on how to make this work please feel free to share.

The Forum post is edited by Kobe White Jan 30 '14
Kobe White
Kobe White Jan 31 '14
Well I found a way to do this manually, but would prefer to use something like a short code.
Having to do this manually is time consuming with the amount of videos I will be showing ( plan to show 10 at a time).

So, I used firebug to pull some code and this is what I have:

<div class="{text key='video+meta_title_video_toprated'}">
<div class="clearfix ow_alt1">
<div class="ow_video_list_item ow_small">

  <a href="http://DOMAIN_NAME/video/view/3"><img src="http://img.youtube.com/vi/******/default.jpg"></a>
        <div class="ow_video_item_rate"></div>
    <div class="ow_video_item_title">VIDEO NAME# 1 </div>
    By <a href="http://DOMAIN_NAME/user/USER_NAME">USER_NAME</a>

</div>
 <div class="ow_video_list_item ow_small">
 <a href="http://DOMAIN_NAME/video/view/2"><img src="http://img.youtube.com/vi/******/default.jpg"></a>
        <div class="ow_video_item_rate"></div>
    <div class="ow_video_item_title">VIDEO NAME# 2 </div>
    By <a href="http://DOMAIN_NAME/user/system_admin">USER_NAME</a>

</div>
<div class="ow_video_list_item ow_small">
<a href="http://DOMAIN_NAME/video/view/1"><img src="http://img.youtube.com/vi/******/default.jpg"></a>
        <div class="ow_video_item_rate"></div>
    <div class="ow_video_item_title">VIDEO NAME! </div>
    By <a href="http://DOMAIN_NAME/user/system_admin">USER_NAME</a>

</div>
      </div>
                    </div>



So, is there a easier way to go about this?

Thanks!
Daisy Team
Daisy Mar 10 '14
You can use the default video widget but simply hide the Latest and Top Rated button. Please check this solution: http://www.oxwall.org/forum/topic/14917