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
columns in category
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: columns in category
Hi, in such case the view output needs to be customized:
components/com_phocadocumentation/views/category/tmpl/default.php (or default_bootstrap.php)
Jan
components/com_phocadocumentation/views/category/tmpl/default.php (or default_bootstrap.php)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 16 Feb 2017, 16:27
Re: columns in category
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: columns in category
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
Jan
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
Jan
If you find Phoca extensions useful, please support the project