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 »

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
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, 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
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 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!
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, 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
If you find Phoca extensions useful, please support the project
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 »

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?
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.

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 »

Hi!
OS blank template with TB 2.
Hm, very strange, once one filter is engaged - the second is blank and vice versa...
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 »

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.

Code: Select all

<ul class="pagination-list">
Where in Bootstrap V3 it needs to be

Code: Select all

<ul class="pagination">
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, 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
If you find Phoca extensions useful, please support the project
Post Reply