Detail view shows multiple categories.

Phoca Gallery - image gallery extension
mrVoodoo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Jan 2013, 20:28

Detail view shows multiple categories.

Post by mrVoodoo »

Hi, started using Phoca Gallery a while back and love it. Really felt like I was starting to get the hang of things when I ran into a little problem. Been googling and reading around but not really found a similar problem mention (or maybe I suck at seraching, who knows..).

Been using the Phoca gallery on several pages of this site and it works perfectly fine, but now I started suspecting that either its a setting I've overlooked, or something is simply wrong. Or if this is a intended way for Phoca to work.

The page in question: http://www.mebis.se/Jomtest1/index.php/vara-haestar

Problem: Detail view allows scrolling through images from all categories on the page. Its a blog layout with a few images in different articles (and there's going to be quite alot more articles). To keep things organized the folder system behind is divided with separate folder for each article, as well as a different subcategory in phoca for each article. It lays out just as intended but when going to detailed view, (take the "1994" article for example) you can actually play/click through all the images on that page. I was more hoping to have it so that one only click/play through the images from the category that's actually inserted there (so for the "1994" article that would only be 2 images, not 7 as it is now adding the the images from the other articles).

Any help highly appreciated :)

EDIT:
Might add I've tried different variation of setting up with categories, categories + subcategories etc, but no luck so far. The intended/wanted category order is having main category for the page and subcategory for each article, as its set up currently. Tried swapping a article to a "main" category with no parent/sub but the detail view still behaves the same, shows/allows all images and the page to be scrolled through.

Thoughts and current testing: Could it become a problem due to that I'm listing several articles on one page in bloglayout, compared to making shorts and have only one article /page? Gonna try around with that, but that really isn't a desired layout for me so I'd probably have to look for some other gallery if so.
mrVoodoo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Jan 2013, 20:28

Re: Detail view shows multiple categories.

Post by mrVoodoo »

Thought I'd add some info to my problem here. Narrowed it down to the fact it ONLY occurs when using "Shadowbox" for the detailed view. Any other presentation (modal, default etc) works as intended and only allows one to click through the number of images that are in that specific category.

Anyone else seen this problem when using Shadowbox? Or even better, have any idea about how I'd go about to fix it? :)

EDIT: I've also ruled out anything template related, problem stays the same swapping to beez2, enable/disable my styling for jcemediabox does no difference either, still the same problem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Detail view shows multiple categories.

Post by Jan »

Hi, there are iframe methods and image methods: https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)

In iframe methods, all the category images can be seen, in image methods only the listed on the page, to not list any other in slideshow, the selected slideshow javascript needs to be customized :-( (in the php code and in the javascript code) ... in some methods e.g. the group id should be removed, etc. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply