[HOW-TO] Load ‘Most Viewed’ videos first instead of ‘Being Watched’ at the homepage in Clip-Bucket

Hello,

 

This how-to will show you how to load the ‘Most Viewed’ videos first from the homepage; by default, ‘Being Watched’ videos are the ones showed first. Here’s an image for you so you understand better what I am talking about:

Example. Juapo2ServicesI always recommend backing up the files we are going to edit, in case you want to revert changes.

 

Difficulty level: Easy

1. Open index.html located in ./styles/{YOURTEMPLATE}/layout/*

2. Search for:

<div class="tabs">

This <div> corresponds to the three tabs. Each <li> corresponds to each tab, and they are ordered like this: Being Watched, Most Viewed & Recently Added.

3. The first <li>, which corresponds to Being Watched, has class=”selected”, that means that this will be the one that’ll show up first. So if you want to make Most Viewed the first one, you will remove class=”selected” from the first <li>, and put it in the second <li>, like this:

Tabs. Juapo2Services

Same process if you want Recently Added to show first, always remember that you can only have one class=”selected”.

4. Save and Upload!

That’s it! You’re done! Any question, comment, problem, do not hesitate to contact me, and keep checking the blog for more articles!

 

Best Regards,

Richi

 

Looking for quality ClipBucket hosting? Try out Arvixe and you won’t be disappointed.

Tags: , , , , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

3 Comments on [HOW-TO] Load ‘Most Viewed’ videos first instead of ‘Being Watched’ at the homepage in Clip-Bucket

  1. MikeB says:

    When I try this I change it to recently uploaded. That is highlighted BUT the videos being shown still are the being watched.
    What I’d like it to have the recently uploaded to show by default

  2. Richi González Richi Glez says:

    Hello,

    What’s your CB version?

    Regards,
    Richi

  3. nguyen says:

    how to show tab video folowing category on homepage

Leave a Reply

Your email address will not be published. Required fields are marked *


5 × = 45

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>