How to permanently disable re-index button?
We need another way to disable it than hide the button by adding the style on Announcent Banner. The renidex will be executed under a script when needed by an admin.
Natively, none. I can think of 3 legal ways:
Other than these, educate your admins on what's that button is supposed to do.
I'd chime in with Gabrielle's last point, but in a slightly different way.
No-one who does not understand what the re-index does should have any admin rights. You really need to remove all the people who should be admins. (Depending on the size of your system, it should be between 2 and 10 people. Mostly 3 or 4)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't understand why you would want to do this.... ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We'll do the reindex through script and we don't need this button there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>We'll do the reindex through script
That's indicative of a massive problem that you REALLY need to fix.
You should only re-index when an admin has a good reason to do so. Scripted re-indexing is "plastering over the cracks while your building falls down". Don't do it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.