Number of Categories in a Row in Phoca Gallery V4

Phoca Gallery - image gallery extension
crood
Phoca Enthusiast
Phoca Enthusiast
Posts: 51
Joined: 21 Jul 2009, 21:25

Re: Number of Categories in a Row in Phoca Gallery V4

Post by crood »

Yes Jan! This is the same problem I found. The other problem I found is the way pagination is shown. How can I override this with a template override?

Chris
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: Number of Categories in a Row in Phoca Gallery V4

Post by 01Kuzma »

crood wrote:Yes Jan! This is the same problem I found. The other problem I found is the way pagination is shown. How can I override this with a template override?

Chris
+1
Hi, Jan!
Thank youĄ
Your code solves the thumbnail and menu problems. Only last problem which I see now is pagination problem.
But pagination class should be changed in order to fix it correctly...

Update1. Sorry, the menu is OK in gallery, bit in Guestbook it is collapsed :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Categories in a Row in Phoca Gallery V4

Post by Jan »

Hi, which menu in Phoca Guestbook you mean?

Anyway Joomla! is still running boostrap 2.x so the internal parts are a little bit different to bootstrap 3.x (this is why bootstrap 3 templates should run with overriding content or with some system plugin which changes the parts from 2 to 3)

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: Number of Categories in a Row in Phoca Gallery V4

Post by 01Kuzma »

Hi!
The main menu:

Code: Select all

 nav.navbar div.moduletable ul.nav
Also the input boxes are narrower than should be.
I haven't tested further so there could be some more visual bugs with TB 3
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Categories in a Row in Phoca Gallery V4

Post by Jan »

Hi, menus are not stylized by Phoca :idea: so this cannot be set in Phoca Gallery or Phoca Guestbook :idea:

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: Number of Categories in a Row in Phoca Gallery V4

Post by 01Kuzma »

Jan wrote:Hi, menus are not stylized by Phoca :idea: so this cannot be set in Phoca Gallery or Phoca Guestbook :idea:
Jan
Yes, I understand. But Phoca loads the default Joomla's Twitter Bootstrap 2.x library and if you are using third version they are conflicting. So the example is made with menu
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of Categories in a Row in Phoca Gallery V4

Post by Jan »

Hi, install 3.0.1 - there you can set it in Parameters (load or not load bootstrap)

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: Number of Categories in a Row in Phoca Gallery V4

Post by 01Kuzma »

Jan wrote:Hi, install 3.0.1 - there you can set it in Parameters (load or not load bootstrap)

Jan
Hi!
Could you post a link to 3.0.1? Cause I don't see it on main page
crood
Phoca Enthusiast
Phoca Enthusiast
Posts: 51
Joined: 21 Jul 2009, 21:25

Re: Number of Categories in a Row in Phoca Gallery V4

Post by crood »

Hi Jan,

I was looking at the files for Phoca Gallery in the views folder to see how I can override the pagination style and then realized that Phoca Gallery is using the default pagination from Jommla 3.2.

The problem is coming from the override from my template. The pagination override file is using the following CSS class:

Code: Select all

<ul class="pagination-list">
Where, based on Bootstrap V3 it should be:

Code: Select all

<ul class="pagination">
The default_pagination.php file in the views folder of Phoca Gallery will still need an override, because it using a div container of the following and conflicting with the unordered list CSS class:

Code: Select all

<div class="pagination pagination-center">
Where the class "pagination" needs to be removed from the div container, so it could possibly be like this in the override:

Code: Select all

<div class="pg-pagination pagination-center">
I am going to try to do overrides on some of the different views in Phoca Gallery. I was wondering how I change the tabs for maps, etc. with an override?

Thanks,

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

Re: Number of Categories in a Row in Phoca Gallery V4

Post by Jan »

Hi, in Phoca Gallery libraries folder (you can see the pagination class - you can override it there, or you can change its output in your overriding views - e.g. with help of str_replace, or you can change the output in system plugin - e.g. I am using system plugin to change some bootstrap class from verstion 2 to version 3)

Not sure what you mean with tabs - if you mean the tabs displayed below e.g. in category view, then you can overwrite them by MVC like all the output :idea:

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