Page 2 of 4

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

Posted: 07 Nov 2013, 02:44
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

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

Posted: 07 Nov 2013, 14:34
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

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

Posted: 07 Nov 2013, 21:17
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

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

Posted: 12 Nov 2013, 21:17
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

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

Posted: 12 Nov 2013, 23:56
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

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

Posted: 13 Nov 2013, 02:49
by Jan
Ok

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

Posted: 14 Nov 2013, 23:09
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

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

Posted: 15 Nov 2013, 13:52
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 :(

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

Posted: 20 Nov 2013, 00:55
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

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

Posted: 23 Nov 2013, 02:50
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