Page 3 of 4
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 23 Nov 2013, 03:03
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
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 23 Nov 2013, 10:06
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

Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 23 Nov 2013, 17:41
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
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 23 Nov 2013, 17:46
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
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 23 Nov 2013, 18:19
by Jan
Hi, menus are not stylized by Phoca

so this cannot be set in Phoca Gallery or Phoca Guestbook
Jan
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 23 Nov 2013, 18:22
by 01Kuzma
Jan wrote:Hi, menus are not stylized by Phoca

so this cannot be set in Phoca Gallery or Phoca Guestbook

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
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 24 Nov 2013, 17:37
by Jan
Hi, install 3.0.1 - there you can set it in Parameters (load or not load bootstrap)
Jan
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 24 Nov 2013, 17:41
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
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 24 Nov 2013, 21:45
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:
Where, based on Bootstrap V3 it should be:
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
Re: Number of Categories in a Row in Phoca Gallery V4
Posted: 27 Nov 2013, 20:28
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
Jan