Layout Bug?
rogermh
Joined: 2005-01-09
Posts: 102 |
![]() |
I just installed the latest nightly. Everything worked without a hitch and I uploaded my first album. In "Site Admin", I've set my default layout to Matrix. When I "edit album" and go to the "Album" tab, the album is set to use the default layout (which should be Matrix). However, when I click on the "Layout" tab, it says "This album is configured to use the Classic layout" and when I view the album, it is the Classic layout. If I specifically choose "Matrix layout" in the "Album" tab, everything is as it should be, but it should work the original way too - if the default is Matrix and the album is configured to use the default layout, the album should use the Matrix layout. Is this a bug or am I not understanding something properly? Roger ---- |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Hm. I tried reproducing this. Here's what I did:
Am I doing something wrong here? Any thoughts on how to reproduce this?[/] |
|
rogermh
Joined: 2005-01-09
Posts: 102 |
![]() |
I've attached screenshots to make things clearer. You know what they say about pictures ... Roger Edit: For some reason, phpBB wasn't showing the .tif file even though it's an acceptable extension. I converted the pictures to .jpg and they now display properly. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Ah ha! I added a new feature a few days back that I forgot all about. See the first screenshot, on the 4th row it says: "New Albums: Inherit these settings from parent album" This means that the sub-album will take the settings from the parent album, instead of using the global defaults. Can you verify that the parent album of the one you just created has the Classic layout? Toggle that setting and try again and it should work for you. P.S. Great idea posting screen shots! |
|
rogermh
Joined: 2005-01-09
Posts: 102 |
![]() |
Unfortunately, that's not the problem/solution. My highest level album is set to the default layout, which again in this case is matrix. In fact, all of my albums are set to the default layout. What's even more strange is that the Classic layout is not even activated. I did activate it at one point just to play around with things, but after realizing this problem, I deactivated it. Roger |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
activate classic layout again and recheck your albums.. |
|
rogermh
Joined: 2005-01-09
Posts: 102 |
![]() |
Looks like that did the trick. There was, however, some weirdness. Here's what I did: 1. Activated Classic layout. So although that fixes the problem, it looks like something remains amiss in this area. Roger |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
#2 is expected (not great, but expected based on the current code). Nothing was actually changed.. when you deactivated classic layout an album was set to use it.. that setting in the db did not change. when you view "edit album" for that album it loads the value "classic" and finds it isn't in the list of active layouts, so it has nothing to select in the select box.. thus the top item (default layout) comes up selected. When you reactivated classic layout then it finds the value it wants so classic comes up selected. |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
Roger, would you file a bug about this at http://sf.net/projects/gallery for us? We need to do a pass through the layout code and fix a bunch of issues and I don't want this one to be forgotten. thanks! |
|