TransWikia.com

How to disable adding new terms via the autocomplete deluxe module for taxonomy terms?

Drupal Answers Asked on December 13, 2020

I’m using the autocomplete deluxe module for taxonomy terms in my fields. I want to prevent users from creating new terms during content creation. How can this be done?

One Answer

You can use the content taxonomy module: https://www.drupal.org/project/content_taxonomy

On the content type fields that are taxonomy reference fields there will now be an extra option that says: Deny any new terms checkbox

It will throw this error when creating a new term:

Client: new terms are not allowed. Please choose from the suggested options.


Apparently there are other solutions I found aswell:

https://www.drupal.org/project/taxonomy_autocomplete_permission -- but it isn't working for autocomplete deluxe.

And there were a few discussions where it involved hacking core to disable it. The content taxonomy module seems to be the only way. It would be better if we didn't have to install another module.

Answered by Patoshi パトシ on December 13, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP