Jump to content

Call custom function inside admin area - when click button


Recommended Posts

Hello there,

I got data from table (custom) and have been listing using array inside tab area admin, and I put some buttons to control each domain (from table).

But I need call a function there are inside the file provisioningmodule.php when click this button (Atualizar).

Someone know how can I do this?

Thanks in advance

Screenshot_46.thumb.jpg.d0a3b686c3427370ba581c355aa5aa83.jpg

Screenshot_47.jpg.18e996d4bc8187619ea6b413cee60157.jpg

 

For create the array list with the custom buttons

Screenshot_48.thumb.jpg.1a4f287451a4d77cd8083e98bdeca35a.jpg

Link to comment
Share on other sites

  • 2 weeks later...

If those buttons are within the example_AdminCustomButtonArray function, you could add the following to the button like the other buttons:

onclick="runModuleCommand('custom','Atualizar')"

(though have not tested this, so the it may not require to be in the example_AdminCustomButtonArray function )

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated