What part are you unsure about?
I re-read what I wrote in that previous post before I posted it here, to make sure it was clear and included examples.
An Album. = /111/
Sub-Albums = /111/112/, /111/113/, /111/114/, /111/115/, /111/116/,
Or, another example: /Holidays/2010/, /Holidays/2011/, /Holidays/2013/, /Holidays/2015/, /Holidays/Unsorted/....
So I have absolutely no idea why you would make Titles and Descriptions inherited? That is just silly. We are talking about the album configuration and options. *Obviously* we're not going to make certain settings apply down the ladder (hence exceptions), but this is for you to work out. I am simply stating a simple method that would not have the inherent flaws as the method you previously mentioned. You outlined problems with the system a few posts up... refer to your post about these issues... This is what I am responding, offering a work-around.
So rather than the album /Holidays/2010/ reading its settings up the chain to the parent YML, i.e.the /Holidays/ to get the configuration for the settings in that child, which point to "/Holidays/YML.Setting.Value", we tell the Parent to apply the selected settings for child albums to inherit (>> /Holidays/2010/YML.Setting.Value). This way that folder just reads the YML in its own folder
. No traversing required!
Here is an example. Please remember this is an example and just a way to show you.
Title For Group Of Settings
- Setting Example: Option1 [X], Option2 [_] , Option3 [X], Option4 [_] ||| Inherit Setting into Sub-Galleries? [_]
- Another Example: Input Box [_____© Copyright XYZ 2014. All right reserved.____] ||| Inherit Setting into Sub-Galleries? [X]
Upon save, the values which have the X for the inheritance check box will have the setting pushed into the YML files of the sub-folders. But
only the items which were checked will be made a "master" setting. For example, some options won't have this as they may conflict with a certain configuration.
The benefit that I am stressing is that you would not have to go into EVERY gallery and EVERY sub-gallery and every sub-sub-gallery... sub-sub-sub-sub-sub-gallery and so on to make changes.
The page settings would be inherited into those sub-albums with the click of a checkbox and save. (with the checkboxes remembering their status when refreshed, and could be easily unchecked if you wanted to change the Parent Gallery and not affect the sub-galleries.
Does that make sense Karl? So NOT ALL options and settings would be allowed to overwrite sub-galleries. I mean you're a smart guy, we're obviously not talking Titles or Descriptions or Meta or anything else that is "gallery specific".