Category Columns vs Login and Menu Mods

Phoca Download - download manager
User avatar
haserb
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Dec 2019, 01:41

Category Columns vs Login and Menu Mods

Post by haserb »

I labeled the title "Category columns vs Login and menu modules" because it seems that phocadownload categories compete for space with the module positions of my template (JA_Simpli). Currently 3 categories are listed in a row. Ample space exists for my menu and login modules, etc on the right sidebar of the template even with a 3-row category displayed. If there is no way to adjust the 3 row categories to fit with template module positions how can I configure the phocadownload style to show just 2 columns? Bootstrap theme is already selected in Display Options. Joomla: latest version in use, 3.9.13. Phocadownload version: latest version, 3.19. I am using the CB_Login (community builder default login), and JA_Simpli main sidebar menu position 7.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Columns vs Login and Menu Mods

Post by Jan »

Hi, can you paste a screenshot of what do you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
User avatar
haserb
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Dec 2019, 01:41

Re: Category Columns vs Login and Menu Mods

Post by haserb »

https://ibb.co/W6w26BK
notice the space to the right (the sidebar) and the login module and featured downloads pushed to lower positions. I am unfamiliar with posting screen shots so I included a link to a screenshot hosted online.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Columns vs Login and Menu Mods

Post by Jan »

Hi, there is no option for changing columns in categories view, so this can be done per template override. This file should be overriden in template:
components\com_phocadownload\views\categories\tmpl\default_bootstrap.php

Changing from:

Code: Select all

class="col-sm-4 col-md-4"
to:

Code: Select all

class="col-sm-6 col-md-6"
Jan
If you find Phoca extensions useful, please support the project
User avatar
haserb
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Dec 2019, 01:41

Re: Category Columns vs Login and Menu Mods

Post by haserb »

Hi Jan
Your recommended change did force 2 category columns only problem is the columns increased in size still preventing any module from appearing to right sidebar or position-7 of the JA Simpli template. I searched for a possible way to change layout for the site template, but so far have found no info?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Columns vs Login and Menu Mods

Post by Jan »

Hi, unfortunately I don't know JA Simpli, so hard to give any clude avdvice there. Phoca Download has just a spaced set by template and it this space you can modify different amount of columns, but it cannot influence everything outside this box. This needs to be done in the template :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
haserb
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Dec 2019, 01:41

Re: Category Columns vs Login and Menu Mods

Post by haserb »

JA Simpli template requires CSS and code change in order to fit 3 category columns. I switched templates to Protostar Joomla template and all is well.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Columns vs Login and Menu Mods

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply