Page 1 of 1

(globeadmin) highlight AS BS BB BE

Posted: Mon Nov 04, 2024 9:02 pm
by capstefano
I think that could be handy to have the keys AS BS BB BE in the action holder of forms changing somehow when there's any custom php code for the current form.

I.E. if a form has some after-save php code, the AS key in the holder would be of a different colour, making immediately clear the presence of some server-side code acting behind the logic of the form.

Re: (globeadmin) highlight AS BS BB BE

Posted: Tue Nov 05, 2024 7:45 am
by kev1n
Hi,

This functionality actually already exists. However, the buttons won't appear highlighted immediately after adding PHP code; they’ll only be highlighted once the form is reloaded.

Additionally, to customize the style of a highlighted button, you can add this class in Setup → Style and adjust it as needed:

Code: Select all

.nuAdminButtonUsed {
    background-color: red
}

Re: (globeadmin) highlight AS BS BB BE

Posted: Tue Nov 05, 2024 11:05 am
by capstefano
ok, NOW I've noticed. Thank you!
I'll customize it to another colour, the actual difference is very small (for my eyes), thanks for the hint