TagsBundle icon indicating copy to clipboard operation
TagsBundle copied to clipboard

Select view options

Open nicogommen opened this issue 6 years ago • 2 comments

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.

nicogommen avatar Mar 05 '19 23:03 nicogommen

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

emodric avatar Mar 07 '19 21:03 emodric

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.

nicogommen avatar Mar 08 '19 17:03 nicogommen