Open Ruslan-Aleev opened 9 years ago
I'm sorry, I don't follow this. Could you explain a bit more?
Look at the screenshots, I hope you will understand :)
Need to save resource with the group "All"
@Ruslan-Aleev First, I tried to setup a sample template with 2 getPageAssets snippet call, each has a different value for group and it's working
[[!getPageAssets? &group=`Default` &outerTpl=`[[+content]]` &innerTpl=`asset-list`]] [[!getPageAssets? &group=`Print` &outerTpl=`[[+content]]` &innerTpl=`asset-list`]]
All images and both Group are showing.
With regards to the Group controls on top of the assets tab, it's purpose is just for filter. It doesn't work like what you might expect for now which will save an image/images based on current tab, Is that how you expect it to work?. The only way to classify the image is to click it and assign it to a group, then save. "All" is not included as a Group -- it's just a filter to show all images.
Sorry I got confused on your concern, you shown a screenshot of your site front end, that's why I setup a sample template for the frontend. But then the title is "Error output groups when you save the resource". So what really is your concern? images not being display on the frontend? or cant Group an image when the resource is save?
1) "With regards to the Group controls on top of the assets tab, it's purpose is just for filter. It doesnt work like what you expect for now which will save an image/images based on current tab, Is that how you expect it to work?. The only way to classify the image is to click it and assign a group on it, then save. All is not included as a Group, again it's just a filter to show all images."
2) Images not being display on the frontend. Title "Error output groups when you save the resource" I never saw.
p.s. Try to select a group, then save the resource and refresh manager-panel, it is possible you will be able to do this bug. If not, I don't even know why it works for me (tried it Asset Manager to reinstall - did not help).
If on page connect two snippets, for example: [[getPageAssets? &group=
New
]] and [[getPageAssets? &group=Old
]]then when you save the resource with active tab in AssetManager, for example, of "New" - on site pictures with a group of "Old" will not be displayed (need to save with the group "All")