How do you push a script notification into DA notification box?

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
656
Location
The Earth
I try to use this hook script to block user from deleting public_html

It was taken from directadmin docs here:


The script works perfectly and I can see the output from the script being generated like this:

You cannot delete your public_html link!

But for GUI notification, this is what I get from the popup notification:

1670144332532.png

How do I push the text:
You cannot delete your public_html link!

from the bash script into this notification? Is it possible at all because this message is not very friendly on the user side?

Or maybe DA has not implemented this feature yet?

@fln Do you think it is possible for a developer to customize this notification system from a script? or perhaps, this notification is only used in DirectAdmin system environment? If this is not possible, maybe I shouldn't continue to search for it. Thanks.
 

Attachments

  • 1670144092648.png
    1670144092648.png
    33.5 KB · Views: 4
Last edited:
Back
Top