Hello,
Here is my config of the test.aquila-it.pl page:
Joomla 4.3.4
Phoca Gallery 4.5.4
Phoca Nature Template 4
Gantry 5
I have set up the page to have separate background image on every menu item. There are two of interest: "Nature" menu item and "Landscape" menu item. They are both configured to display different Phoca Gallery List of Categories, with category ID entered in the options.
When I click on "Nature" menu, the background image displays correctly with list of Phoca categories.
When I click on "Landscape" menu, the correct background image displays with correct list of categories.
But when I click on any Phoca category within the "Nature" menu, the background image switches to the Landscape background image, instead of retaining the Nature background image. Also in the address I can see the "landscape" being added, although I am in the nature.
Thank you in advance for any help.
Phoca Gallery background image problem
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery background image problem
Hi, which background do you exactly mean? Phoca Gallery does not use any background feature.
Can you paste some screenshots?
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery background image problem
Hi,
your URL/site shows: Error: network timeout
Kind regards
Christine
your URL/site shows: Error: network timeout
Kind regards
Christine
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery background image problem
I would love to, but how can I paste pictures here?
The Nature should use the eagle face background (dark brown one).
https://test.aquila-it.pl/index.php/en/nature
The Landscape shuld use the golden/orange grass image.
https://test.aquila-it.pl/index.php/en/landscape
After clicking the Fungi category on Nature, you get this:
https://test.aquila-it.pl/index.php/en/ ... /183-fungi
As you can see there is "landscape" in the address, although it is no landscape, but nature category.
I know Phoca Gallery does not use any background, anyway clicking a nature category switches to landscape for any reason.
If I delete the "Landscapes" category from PG, the backgrounds will be displayed correctly. I know how strange this sounds, but it is how it is and I have no idea why.
"Landscapes" is a first level category in PG. All categories you see on the Nature site are also first level categories. You can see it on the Nature page.
@christine
The page https://test.aquila-it.pl is working fine by me.
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery background image problem
Hi Kordian,
when entering: test.aquila-it.pl only, then I get above response.
With https://.... it's OK
Just an idea, not sure, maybe relevant. What I see is: 2 body (suffix?) entries:
a) landscape:
body.krajobrazy {codes}
../../images/krajobrazy.jpg
b) nature:
body.przyroda {codes}
../../images/przyroda.jpg
Kind regards
Christine
when entering: test.aquila-it.pl only, then I get above response.
With https://.... it's OK

Just an idea, not sure, maybe relevant. What I see is: 2 body (suffix?) entries:
a) landscape:
body.krajobrazy {codes}
../../images/krajobrazy.jpg
b) nature:
body.przyroda {codes}
../../images/przyroda.jpg
Kind regards
Christine
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery background image problem
And it is fully ok, as I already written, that the goal is different background images for different menu items.
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery background image problem
Any ideas?
Thank you in advance!
Thank you in advance!
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery background image problem
Hi,
Under the menue: landscape there are no images.
I made a test on a testsite, as follows:
Multiple add > Create Folder > nature
Multiple add > Create Folder > landscape
Menu: Nature
Menu: Landscape
Menu Nature > category > nature
Menu Landscape > category > landscape
Menu type:
List of images > category > nature
List of images > category > landscape
For background (Page Class Suffix), I just took only color.
Results:


Kind regards
Christine
Under the menue: landscape there are no images.
I made a test on a testsite, as follows:
Multiple add > Create Folder > nature
Multiple add > Create Folder > landscape
Menu: Nature
Menu: Landscape
Menu Nature > category > nature
Menu Landscape > category > landscape
Menu type:
List of images > category > nature
List of images > category > landscape
For background (Page Class Suffix), I just took only color.
Results:


Kind regards
Christine
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery background image problem
And how does this solve my problem?
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Phoca Gallery background image problem
As I already wrote: there are no pictures in your landscape menu.
That's why I tried to "recreate" it and wrote down my ways how I managed it. I.e. check the connection to menus & categories.
Kind regards
Christine
That's why I tried to "recreate" it and wrote down my ways how I managed it. I.e. check the connection to menus & categories.
Kind regards
Christine