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 tried it with a Joomla default template and the category view shows right and the categories view there are some issue with category title. Here are the screenshots:

Categories View:

Image

Category View:

Image

My template is based on Bootstrap Version 3 and not version 2. What I don't understand is why the views will not load correctly on my site using the template I desire.

Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
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,

regarding titles: they can be cut in Options.

regarding bootstrap 3 - in fact it should not have any influence on the size of the boxes like bootstrap 2 does not influence the default design of Phoca Galery - bootstrap only influences buttons, etc. not the float boxes. And all the boxes have class names which are independent to bootstrap. :idea:

I will test the Phoca Gallery with bootstrap 3 to be 100% sure.

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 »

Hi Jan,
Jan wrote:regarding titles: they can be cut in Options.
Okay, I figured.
Jan wrote:regarding bootstrap 3 - in fact it should not have any influence on the size of the boxes like bootstrap 2 does not influence the default design of Phoca Galery - bootstrap only influences buttons, etc. not the float boxes. And all the boxes have class names which are independent to bootstrap.
Okay, that is what I did not know. I just don't understand why my thumbnails are not showing correctly in my template then, if the boxes are not using bootstrap? All images are coming from Picasa, I don't know if this has anything to do with it?

Does Phoca Gallery Version 4 use themes anymore or no?

Thanks in advance for the help,

Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
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,

themes, the feature is there, but there is no theme for 4, mostly CSS class should be used instead as every design part can be stylized by CSS and CSS3 is now powerful.

Yes, there can be some problem with reading the image size information from Picasa, try to set some album with internal image, maybe this can be the problem. :idea:

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 »

Hi Jan,

So far I have fixed the problem with css overrides. I still have some fixing to do, so that everything looks good. I will keep you posted.

Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
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 »

Jan,

Does V4 of Phoca Gallery support template overrides via the site's template? If so, could you explain some of the different files for this?

Thanks,

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 »

crood wrote:Hi Jan,
Jan wrote:regarding titles: they can be cut in Options.
Okay, I figured.
Chris
Hi! Could you tell me how can I turn off titles for the Slimbox?

I'm too having style issues with TB 3 :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
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, yes, Phoca Gallery is written in MVC, so it supports overriding.

Slimbox takes the values from alt attribute, so try to set alt attribute in Options.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
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, I found the problem in bootstrap 3.

There is this code:

Code: Select all

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
which breaks size boxes on the site.

Add the following code to your template CSS or Phoca Gallery CSS (I will add it in next version in Phoca Gallery CSS)

Code: Select all

#phocagallery *,
#phocagallery *:before,
#phocagallery *:after {
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box  !important;
  box-sizing: content-box !important;;
}
Which should solve the problem

Keywords: bootstrap3, bootstrap 3, box size problem
If you find Phoca extensions useful, please support the project
Post Reply