freakedout

Why does it display in columns?

Why does it display in columns?

Hi
Firstly, thank you for a great component, it was just what I was looking for.
However, when I use it it blog layout, it displays 3 articles on the left and 1 on the right. How do I make it  display all articles on the left in 1 column?
Thanks

Guest
Guest
useravatar
Offline
Administrator has disabled public posting

Re: Why does it display in columns?

Hello Jason22,

Unfortunately the default setting for Joomla blog layouts is one leading article and two columns for the following articles. These settings can be adjusted when creating a menu item for the blog layout. Because of the categories module not beeing connected to any menu items the default values cant be changed from the backend.

The solution is to edit the file /components/com_content/views/category/view.html.php
At line 50 you find the default settings. Change
$params->def('num_columns', 2); to
$params->def('num_columns', 1); and you will get only one column on the blog view.
You can also set num_leading_articles to 0.
(Of course you can still create menu items for blog views and change the settings for these views.)

Kind regards,
Pete

If you are satisfied with our products please write a review in the Joomla Extensions Directory!

Pete
Site admin
useravatar
Offline
758 Posts
User info in posts
Administrator has disabled public posting

Re: Why does it display in columns?

Pete wrote:

The solution is to edit the file /components/com_content/views/category/view.html.php
At line 50 you find the default settings.

Thank you, works fine smile

Guest
Guest
useravatar
Offline
Administrator has disabled public posting