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 »

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: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: columns in category

Post by Jan »

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 »

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: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: columns in category

Post by Jan »

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