Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error output groups when you save the resource #58

Open
Ruslan-Aleev opened this issue Jun 23, 2015 · 5 comments
Open

Error output groups when you save the resource #58

Ruslan-Aleev opened this issue Jun 23, 2015 · 5 comments

Comments

@Ruslan-Aleev
Copy link

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")

@fireproofsocks
Copy link
Member

I'm sorry, I don't follow this. Could you explain a bit more?

@Ruslan-Aleev
Copy link
Author

Look at the screenshots, I hope you will understand :)
group_1_0
group_1_1
group_2_0
group_2_1

@Ruslan-Aleev
Copy link
Author

Need to save resource with the group "All"

@dadaniels
Copy link
Contributor

@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?

@Ruslan-Aleev
Copy link
Author

  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."
  • I understand how this should work and I do not understand why my pictures to the frontend is filtered by assets tab in the manager-panel when I save the resource.
  1. 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants