Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

How to put videos in 3 columns and 10 rows?

  • Mladjan Crkvenjas
  • Mladjan Crkvenjas's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 6 months ago #138679 by Mladjan Crkvenjas
How to put videos in 3 columns and 10 rows? was created by Mladjan Crkvenjas
I would like to put videos in 3 columns and 10 rows, or to put 3 columns in one row of videos, then to put commercial banner, then again 3 columns in one row of videos, then again banner, and again videos...

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 6 months ago #138680 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to put videos in 3 columns and 10 rows?
You need to changes the setting in the setup category.
90 items I think is too much to load in my opinion.

Now for the banner part. Open the category.php file located in
/templates/conversationalist/html/com_k2/default

You find the sections for leading, primary and secondary items.
You will recognize the blocks from the comments
<!-- Primary items -->
		<div id="itemListPrimary">

Now comes the coding part.
<?php foreach (JModuleHelper::getModules('CHANGE_THIS') as $module) {                                
echo JModuleHelper::renderModule($module, array('style' => 'nu'));            
}?>
Paste this after each section. (Leading, primary etc...)

Hint. Do not forget to change the name of the module ( CHANGE_THIS in the code) and use a different name for each module.
Hint 2. Always keep a backup of the modified file, always.
Hint 3. load less videos.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum