I am working on building my personal site, which has an image gallery. Each gallery is a folder asset, and the images are children of that folder. I have a paint layout for all folder assets, which has a nested Asset Listing (w/ Dynamic root node set to current asset) so that I can list all the images within each folder. This is all fine and dandy, and works well.
But, what I would like to do is have an additional paint layout, painting each image, so that I can add a conditional logged in statement for each image. When adding this new paint layout, it does not seem to work. Have I gone too far with what paint layouts can do? Or did I miss a step?
When ever the new paint layout is applied to the nested Asset listing, within the folder paint layout, I get no results for the image gallery…
Double posting to say, I did some more testing. And when I add a paint layout to the nested asset listing, which is nested inside the first paint layout, I loose my dynamic root node, and get the no results body copy. It seems that there is no reason for this…continuing to investigate…
Hi Nic, did you ever figure out a solution to this? I have a similar problem with an asset listing with a dynamic root node set to the current asset. It works fine but until a paint layout is applied which causes the root node becomes the asset listing itself, which is not entirely helpful.
In my case, I was trying to apply a paint layout to the nested content div, which was not the right solution. I just configured the same paint layout that I was currently using to paint images as well as folder, and then configured the type format for my images. So, in my situation it worked how I needed, I was just going about it the wrong way.
Is this a nested asset listing in the paint layout, painting folder?
My asset listing is nested in via a MySource nested content area. It has a dynamic root node set to current asset and shows metadata values of child assets. Some of these values may not be filled and I need the conditional keywords of a paint layout to hide lines where the values are empty. However once a paint layout is applied to the asset listing via the customisation the root node becomes the asset listing rather than the current asset.
So, you are working with a nested content area in your parse file? I have not done what you are describing before. So, I am not sure what is going on. Do you think this could perhaps be a bug?
It is possible, or there may be a better way of using the paint layout I am unaware of. I'll get in touch with one of the developers and see what they think. Thanks for your help.