Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

(globeadmin) highlight AS BS BB BE

Post your ideas & suggestions for new nuBuilder features or other improvements
Post Reply
capstefano
Posts: 21
Joined: Sat Jan 21, 2023 12:17 am
Has thanked: 19 times
Been thanked: 4 times

(globeadmin) highlight AS BS BB BE

Unread post 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.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: (globeadmin) highlight AS BS BB BE

Unread post 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
}
capstefano
Posts: 21
Joined: Sat Jan 21, 2023 12:17 am
Has thanked: 19 times
Been thanked: 4 times

Re: (globeadmin) highlight AS BS BB BE

Unread post 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
Post Reply