• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Please.. help me about OVOO 3.2.4 CMS

Hi all. (Sorrry, my English not well)


Please.. help me...
I use OVOO 3.2.4 CMS

I want to change display homepage on OVOO. For example: "Latest_tv_series" currently showing are 16 movies on homepage, i want to change only display 12 movies or 18 movies. How can i do it? .../view/theme/defaut/home.php

Who can help me?

Many thank

Image: https://www.upsieutoc.com/image/z4DbMp or https://www.upsieutoc.com/image/z4D7R8

w1.jpg
w2.jpg
PHP:
//find this code
<div class="movie-container">
                            <?php
                                $latest_published_videos = $this->common_model->latest_published_tv_series();
                                foreach ($latest_published_videos as $videos) :
                            ?>
                            <div class="col-md-2 col-sm-3 col-xs-6">
                                <?php include('thumbnail.php'); ?>
                            </div>
                            <?php endforeach; ?>
                        </div>
//change to this,
//info: $limit == 11 this only showing 12 item because array start from 0 to 11 = 12
//if you want to show 18 item, just change $limit == 11 to $limit == 17
<div class="movie-container">
                            <?php
                                $latest_published_videos = $this->common_model->latest_published_tv_series();
                                $limit = 0;
                                foreach ($latest_published_videos as $videos) :
                            ?>
                            <div class="col-md-2 col-sm-3 col-xs-6">
                                <?php include('thumbnail.php'); ?>
                            </div>
                            <?php if($limit == 11){break;} $limit++;endforeach; ?>
                        </div>
 
When you take a look to the model "Common", you can see this function:
public function latest_published_tv_series($limit=16,$page='')
{
$this->db->where('publication', '1');
$this->db->where('is_tvseries', '1');
$this->db->order_by("last_ep_added","DESC");
$this->db->limit($limit);
return $this->db->get('videos')->result_array();
}

As is shown, you can replace in the home view this line:

$latest_published_videos = $this->common_model->latest_published_tv_series();

By:

$latest_published_videos = $this->common_model->latest_published_tv_series(12);

Or:

$latest_published_videos = $this->common_model->latest_published_tv_series(18);
 
  • Like
Reactions: minhvu2009
please help me one more time.. :love:
I want to change display homepage on OVOO, for example: showing one more section type "Clip - Song" on homepage . And i don't want "Latest_movies" showing that Clip- Songs.
How can i do it? ...
Thank you so much

clip-song.jpg


clip2.jpg
 
Copy/paste here the Database schema (go to server and use phpmyadmin, after that export all database but only the STRUCTURE, not the DATA)
 
please help me one more time.. :love:
I want to change display homepage on OVOO, for example: showing one more section type "Clip - Song" on homepage . And i don't want "Latest_movies" showing that Clip- Songs.
How can i do it? ...
Thank you so much

clip-song.jpg


clip2.jpg

you want create like this ?
2.png
 
  • Like
Reactions: minhvu2009
Greetings, could you help me, please install ovoo 3.2.6 and the home page does not show the photos of the poster of the videos, but when I enter the video if the images appear, how can I solve it, I would appreciate your great help.

error 1.jpg
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock