|
Replies:
7
-
Pages:
1
-
Last Post:
28 Aug 25, 17:07
Last Post By: Laza
|
|
|
Posts:
20
Registered:
7-Apr-2014
|
|
|
|
Show map in sidebar
Posted:
13 Aug 25, 18:32
|
|
|
|
Hello,
A small bug... Every time I open my album on JAlbum, the map checkbox (Show map in sidebar) is unchecked?
Best regards.
|
|
|
Posts:
8,014
Registered:
31-Jan-2006
|
|
|
|
Re: Show map in sidebar
Posted:
13 Aug 25, 18:38
in response to: sbesson
|
|
|
|
Make sure you're saving the project.
When I choose that option, it stays checked when I reopen the project.
ETA: Ah, I've found it. If you check Main Content > Map > Show map within the main content column, the sidebar option is automatically unchecked. In other words, you can show the map either in the main content column or in the sidebar, but not both. Choosing either one turns off the other.
|
|
|
Posts:
20
Registered:
7-Apr-2014
|
|
|
|
Re: Show map in sidebar
Posted:
13 Aug 25, 19:25
in response to: sbesson
|
|
|
|
Yes, I register, but the box is always unchecked after each launch?
|
|
|
Posts:
8,014
Registered:
31-Jan-2006
|
|
|
|
Re: Show map in sidebar
Posted:
13 Aug 25, 19:49
in response to: sbesson
|
|
|
|
It doesn't do that when I test it. If it's checked, it stays checked. Please attach your jalbum-settings.jap project file, which might contain a clue.
|
|
|
Posts:
20
Registered:
7-Apr-2014
|
|
|
|
Re: Show map in sidebar
Posted:
27 Aug 25, 18:30
in response to: JeffTucker
|
|
|
|
|
|
Here's the file.
In the meantime, I tried again:
The map with a Google API key is registered correctly.
The map without an API key (OpenStreetmap) is automatically unchecked.
|
|
|
Posts:
8,014
Registered:
31-Jan-2006
|
|
|
|
Re: Show map in sidebar
Posted:
27 Aug 25, 18:35
in response to: sbesson
|
|
|
|
Ah, I see. I can "feel" the bug that's causing this - somewhere, the skin UI is testing to see if an API has been entered. If it hasn't, it unchecks that sidebar option. But in the case of an OpenStreetmap, it shouldn't do that, since no API is required.
I'll have to leave this one to Laza.
|
|
|
Posts:
1,444
Registered:
6-Sep-2005
|
|
|
|
Re: Show map in sidebar
Posted:
28 Aug 25, 07:55
in response to: sbesson
|
|
|
|
Yes, Jeff guessed it right. I tried to be helpful for those who never used the Map feature, left the API key empty, while the sidebar and main section maps were on. After the addition of OSM maps, however, these users were surprised to see the map unasked. The logic for detecting this situation fails somewhere, and it won't help that jAlbum loads the user interface twice: first with user variables only, and then with user variables and skin variables. I will try to figure out a better logic.
|
|
|
Posts:
1,444
Registered:
6-Sep-2005
|
|
|
|
Re: Show map in sidebar
Posted:
28 Aug 25, 17:07
in response to: sbesson
|
|
|
|
I have identified the error that caused this odd behavior and will release the skin tomorrow.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|