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

Select view options #94

Open
nicogommen opened this issue Mar 5, 2019 · 2 comments
Open

Select view options #94

nicogommen opened this issue Mar 5, 2019 · 2 comments

Comments

@nicogommen
Copy link

Hi,

First off, thank you guys for maintaining this bundle!

In the legacy backend, when using the select view, all the tags were available as options, no matter their level in the tags tree.
In the new admin UI (v2.x), we have just the tags from the first level of the tree in the options of the select.
Would it be possible to reproduce the same behavior as in legacy?

Also, is it possible to disable the "Add new" button of the tree view, without taking off the add/tag permission? We'd like to allow the users to add new tags in the "Tags" tab of the admin UI, but not directly from the edit form of a content.

Thanks.

@emodric
Copy link
Member

emodric commented Mar 7, 2019

Hi @nicogommen

Thanks for your report ! :)

In the legacy backend, when using the select view, all the tags were available as options, no matter their level in the tags tree.
In the new admin UI (v2.x), we have just the tags from the first level of the tree in the options of the select.
Would it be possible to reproduce the same behavior as in legacy?

I honestly don't remember how it was in eZ Publish Legacy, I will need to check. But in any case, I don't think changing the current select view is a good option, since it could be considered a BC break. What you can do ( and PRs are accepted ;) ), is implement a new view that does what you need.

Also, is it possible to disable the "Add new" button of the tree view, without taking off the add/tag permission? We'd like to allow the users to add new tags in the "Tags" tab of the admin UI, but not directly from the edit form of a content.

Good idea. Should this work on the field level (i.e. selectable in each of the eztags field definitions when editing the content type)?

@nicogommen
Copy link
Author

Hi @emodric

Thanks for the quick reply!

We'll think about creating a new view and submit a PR ;-)

Good idea. Should this work on the field level (i.e. selectable in each of the eztags field definitions when editing the content type)?

Yes, I think this should work on the field level.

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

2 participants