Page 4 of 4

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

Posted: 28 Nov 2013, 20:46
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

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

Posted: 30 Nov 2013, 18:22
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

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

Posted: 02 Dec 2013, 17:25
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!

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

Posted: 03 Dec 2013, 02:26
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

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

Posted: 03 Dec 2013, 03:55
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

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

Posted: 03 Dec 2013, 09:41
by 01Kuzma
Hi!
OS blank template with TB 2.
Hm, very strange, once one filter is engaged - the second is blank and vice versa...

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

Posted: 03 Dec 2013, 14:08
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">

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

Posted: 03 Dec 2013, 18:16
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