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.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
(globeadmin) highlight AS BS BB BE
-
- Posts: 21
- Joined: Sat Jan 21, 2023 12:17 am
- Has thanked: 19 times
- Been thanked: 4 times
-
- 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
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:
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
}
-
- 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
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
I'll customize it to another colour, the actual difference is very small (for my eyes), thanks for the hint