Hi Jan,
I figures out the pagination and have so far added all my overrides.
What I want to do is override the tabs at the bottom of the category view to use Bootstrap V3 tabs.
Chris
Number of Categories in a Row in Phoca Gallery V4
-
- Phoca Enthusiast
- Posts: 51
- Joined: 21 Jul 2009, 21:25
- Jan
- 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
Hi, the tabs are in the same folder - it is just default.php or default_...php file in the category or categories folder:
components/com_phocagallery/views/category|categories/tmpl
Jan
components/com_phocagallery/views/category|categories/tmpl
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 all!
I've a web site with Twitter Boostrap 2. Everything works OK except filter near pagination:
http://img594.imageshack.us/img594/4196/v5ml.png
Is is phoca's galleries small bug? Or it's more Twitter's Bootstrap conflict?
Thank you!
I've a web site with Twitter Boostrap 2. Everything works OK except filter near pagination:
http://img594.imageshack.us/img594/4196/v5ml.png
Is is phoca's galleries small bug? Or it's more Twitter's Bootstrap conflict?
Thank you!
- Jan
- 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
Hi, Phoca Gallery does not stylize the pagination, pagination is a part of whole site and should be displayed always the same, so it should be stylized by template.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 51
- Joined: 21 Jul 2009, 21:25
Re: Number of Categories in a Row in Phoca Gallery V4
What template are you using? Like Jan stated pagination is styled by the template. I was having a problem due to using a Bootstrap V3 template.01Kuzma wrote: I've a web site with Twitter Boostrap 2. Everything works OK except filter near pagination:
http://img594.imageshack.us/img594/4196/v5ml.png
Is is phoca's galleries small bug? Or it's more Twitter's Bootstrap conflict?
Chris
-
- Phoca Enthusiast
- Posts: 50
- Joined: 01 Sep 2012, 10:27
Re: Number of Categories in a Row in Phoca Gallery V4
Hi!
OS blank template with TB 2.
Hm, very strange, once one filter is engaged - the second is blank and vice versa...
OS blank template with TB 2.
Hm, very strange, once one filter is engaged - the second is blank and vice versa...
-
- Phoca Enthusiast
- Posts: 51
- Joined: 21 Jul 2009, 21:25
Re: Number of Categories in a Row in Phoca Gallery V4
Ok, I am not fimilar with TB2. I use Joostrap.
The problem that I had was in the pagination override in the Joomla template. I had a unordered list with the wrong class.
Where in Bootstrap V3 it needs to be
The problem that I had was in the pagination override in the Joomla template. I had a unordered list with the wrong class.
Code: Select all
<ul class="pagination-list">
Code: Select all
<ul class="pagination">
- Jan
- 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
Hi, try to see the following file:
components\com_phocagallery\views\category\tmpl\default_pagination.php and try to change the pagination to pagination-list
There are more parts you need to check:
- Joomla! itself works with Bootstrap 2, so all its parts renders bootstrap 2 code, include components renders similar code to Joomla! code
- MVC - check the html folder to know which parts are overwritten by your template and which not - it can be possible that the pagination output from Phoca Gallery is overridden but it may not be true (if overridden - the overriden part needs to be customized, if not overriden - then it needs to be overriden by template or it needs to be direcly customized in original code)
- check if some system plugin does not exists which translates bootstrap 2 code rendered by Joomla! to bootstrap 3 code ...
Jan
components\com_phocagallery\views\category\tmpl\default_pagination.php and try to change the pagination to pagination-list
There are more parts you need to check:
- Joomla! itself works with Bootstrap 2, so all its parts renders bootstrap 2 code, include components renders similar code to Joomla! code
- MVC - check the html folder to know which parts are overwritten by your template and which not - it can be possible that the pagination output from Phoca Gallery is overridden but it may not be true (if overridden - the overriden part needs to be customized, if not overriden - then it needs to be overriden by template or it needs to be direcly customized in original code)
- check if some system plugin does not exists which translates bootstrap 2 code rendered by Joomla! to bootstrap 3 code ...
Jan
If you find Phoca extensions useful, please support the project