How do I change the number of Related Videos?

  • Posts: 14

How do I change the number of Related Videos? was created by kati333

How do I change the number of Related Videos?
By default is 10.
2 years 4 months ago #2660

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic How do I change the number of Related Videos?

Our next version is having an option for this. Kindly be patient.

As a quick solution,

1. Edit open the following file,
{SITE_ROOT}/components/com_yendifvideoshare/src/Model/VideoModel.php
2. Locate the function named "getRelatedVideos"

3. Find the line below,
$limit = $this->getState( 'list.limit', 10 );
4. Change the number "10" to whatever you want.

5. Save the changes and check now.

Hope this solved your issue!
Last edit: 2 years 4 months ago by Administrator.
2 years 4 months ago #2662

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds

Business Address

PLUGINSWARE INTERACTIVE PVT LTD
Door No 2A, Venkateshwara Nagar,
1st Main Road, Velachery, Chennai,
Tamilnadu, India
Pincode: 600042
© 2013 - 2024 Pluginsware Interactive Private Limited. All Rights Reserved. The Joomla! name and logo is used under a limited license granted in the United States and other countries.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.