Number of Categories in a Row in Phoca Gallery V4
-
- Phoca Enthusiast
- Posts: 51
- Joined: 21 Jul 2009, 21:25
Re: Number of Categories in a Row in Phoca Gallery V4
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
Chris
-
- Phoca Enthusiast
- Posts: 50
- Joined: 01 Sep 2012, 10:27
Re: Number of Categories in a Row in Phoca Gallery V4
+1crood 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
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
- Jan
- Phoca Hero
- Posts: 47829
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Categories in a Row in Phoca Gallery V4
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
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
-
- Phoca Enthusiast
- Posts: 50
- Joined: 01 Sep 2012, 10:27
Re: Number of Categories in a Row in Phoca Gallery V4
Hi!
The main menu:
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
The main menu:
Code: Select all
nav.navbar div.moduletable ul.nav
I haven't tested further so there could be some more visual bugs with TB 3
- Jan
- Phoca Hero
- Posts: 47829
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Categories in a Row in Phoca Gallery V4
Hi, menus are not stylized by Phoca so this cannot be set in Phoca Gallery or Phoca Guestbook
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 50
- Joined: 01 Sep 2012, 10:27
Re: Number of Categories in a Row in Phoca Gallery V4
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 menuJan wrote:Hi, menus are not stylized by Phoca so this cannot be set in Phoca Gallery or Phoca Guestbook
Jan
- Jan
- Phoca Hero
- Posts: 47829
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Categories in a Row in Phoca Gallery V4
Hi, install 3.0.1 - there you can set it in Parameters (load or not load bootstrap)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 50
- Joined: 01 Sep 2012, 10:27
Re: Number of Categories in a Row in Phoca Gallery V4
Hi!Jan wrote:Hi, install 3.0.1 - there you can set it in Parameters (load or not load bootstrap)
Jan
Could you post a link to 3.0.1? Cause I don't see it on main page
-
- Phoca Enthusiast
- Posts: 51
- Joined: 21 Jul 2009, 21:25
Re: Number of Categories in a Row in Phoca Gallery V4
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:
Where the class "pagination" needs to be removed from the div container, so it could possibly be like this in the override:
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
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">
Code: Select all
<ul class="pagination">
Code: Select all
<div class="pagination pagination-center">
Code: Select all
<div class="pg-pagination pagination-center">
Thanks,
Chris
- Jan
- Phoca Hero
- Posts: 47829
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Number of Categories in a Row in Phoca Gallery V4
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
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
If you find Phoca extensions useful, please support the project