columns in category

Phoca Documentation - creating documentation in Joomla! CMS
web24
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Feb 2017, 16:27

columns in category

Post by web24 » 16 Feb 2017, 16:34

hi,
is it possible to have 2 or 3 columns in category view?
for example: i have categories and in each of them are more than 30 article, inow i want to have 3 colums with each of them around 10 articles.
i only can find how much articles i want to display on the site but in one column.

thx
geri

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42709
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: columns in category

Post by Jan » 16 Feb 2017, 19:57

Hi, in such case the view output needs to be customized:

components/com_phocadocumentation/views/category/tmpl/default.php (or default_bootstrap.php)

Jan
If you find Phoca extensions useful, please support the project

web24
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Feb 2017, 16:27

Re: columns in category

Post by web24 » 17 Feb 2017, 10:18

hi jan,
i would do this but i dont know enough .php so could you be so kind an can you please explain it a little more for me?

i think the changes should be around row 80 (Articles) in default.php but what???

thx
geri

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42709
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: columns in category

Post by Jan » 19 Feb 2017, 19:12

Hi, these changes should be more html and css than php. And depends on which CSS library you will use (own, bootstrap 2, 3 or 4)

In the default.php you can customize the html. E.g. if you use some of bootstrap library, you should do columns with help of this library :idea:

Jan
If you find Phoca extensions useful, please support the project

Post Reply