TagsBundle
TagsBundle copied to clipboard
Select view options
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.
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)?
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.