Keyword

Grid Layout for Featured Items on Home Page

More
8 years 10 months ago #144378 by Bob
Hi,

How could i modify the grid Layout for featured items which are on the home page ?

I have a look on K2 Content Module but i don't see anything related to Grig Layout configuration.

Regards,
Bob

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #144391 by Krikor Boghossian
Replied by Krikor Boghossian on topic Grid Layout for Featured Items on Home Page
The grid view is only available for the component view (check the category's settings). However you can override the module's template and manually create a gridded layout.

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

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

More
8 years 10 months ago #144409 by Bob
Hi,

I just want to modify the number for leading articles

In components/com_k2/templates/default/category.php, the number of leading articles is store in $this->leading, line 141 :
<?php foreach($this->leading as $key=>$item): ?>

Where i can modify the value retrieve by $this-leading ?

Thanks
Regards
Bob

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #144410 by Krikor Boghossian
Replied by Krikor Boghossian on topic Grid Layout for Featured Items on Home Page
If you are using a single category in this menu item, then you need to change the category's settings.
If not then the settings are located in the menu item's params.

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