This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Events let you to trigger an event as custom way for example by a custom button placed in the Menu Bar or as Context Menu.

1. Create a custom button under UserManager, UserName (default for all users), in the QuickJump select Webinterface, scroll down a little and at the Buttons section click on 'Add':

attachments

Add the following javascript function for this button:

attachments

javascript:customEvent({paths:"{files}"});

If you want more task/job mapped to buttons you can add more buttons with different variables on the javascript function and in the task/job you can branch off to do different actions:

a. crate a button to action1 and an other one for action2 :

javascript:customEvent({my_action_decision: 'do_action_1', paths:"{files}"});
javascript:customEvent({my_action_decision: 'do_action_2', paths:"{files}"});

b. In the task/job branch off by using a jump task to verify which button was hit:

2. Create the custom event. Under UserManager, UserName (default for all users), in the QuickJump select Webinterface, scroll down a little and at the Buttons section click on 'Add Event'. As User action check the 'custom' and check the 'Do event immediately' flag, set a task/job/plugin. That will be executed when the custom button is hit.

attachments

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
Custom_form_end user_view.png 67.0 kB 1 18-Jun-2020 14:52 Halmágyi Árpád
png
customButton2.png 276.2 kB 1 25-Oct-2018 04:31 krivacsz
png
customButtonFunction.png 45.0 kB 1 25-Oct-2018 04:31 krivacsz
png
customEvent2.png 263.2 kB 1 25-Oct-2018 04:31 krivacsz
png
custom_button.png 90.6 kB 1 18-Jun-2020 14:51 Halmágyi Árpád
png
custom_email_config.png 58.0 kB 1 18-Jun-2020 14:51 Halmágyi Árpád
png
custom_event_config.png 140.3 kB 1 18-Jun-2020 14:51 Halmágyi Árpád
png
custom_form.png 110.7 kB 1 18-Jun-2020 14:52 Halmágyi Árpád
png
jump.png 114.5 kB 1 25-Oct-2018 04:31 krivacsz
png
usermanager_custom_form.png 49.5 kB 1 18-Jun-2020 14:52 Halmágyi Árpád
« This particular version was published on 25-Oct-2018 04:31 by krivacsz.
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki