Hello,
Is there an easy way to disable a module from the global search using the REST API or maybe through the code ? The purpose is, for instance, to avoid that a new module created from the builder is automatically enabled.
Many thanks,
Fred
Hello,
Is there an easy way to disable a module from the global search using the REST API or maybe through the code ? The purpose is, for instance, to avoid that a new module created from the builder is automatically enabled.
Many thanks,
Fred
There are two options,
you can include this in your vardefs.php
'full_text_search' => false,
or
Add a file full_text_search_admin.php into the directory custom/Extension/modules/<MODULE>/Ext/Vardefs
<?php $dictionary['MODULE']['full_text_search']=false;
Substitute your Module Name anywhere you see the word MODULE
Hi Jeff Bickart,
thank you for your feedback. I will do this that way ; I was wondering / hoping that I can do this with an API call.
Have a good day,
Fred
Hi Jeff Bickart,
thank you for your feedback. I will do this that way ; I was wondering / hoping that I can do this with an API call.
Have a good day,
Fred