Jump to content

how to add a new tab to tickets?


ramf

Recommended Posts

Hi,
I want to add a new tab to the tickets in WHMCS - this new tab should be a form that I can select some information in and send it via webhook and to add this information as a ticket note.

 

So the first step is to add a new tab to the ticket - right?
So I tried doing it the same way that @busyrack are doing it with the excellent ticket timer module. 

I found this documentation by jas8522:
https://github.com/websavers/WHMCS-admin-tab-creator-library/tree/master

And I tried to create a new module with 3 fiels:

new_tab.php - This file contains the module name, version number, author, description, and any custom configuration fields.
hooks.php - This file defines the hooks that the module should define within WHMCS. In our case, it is the AdminAreaFooterOutput hook exactly as mentioned in the git above
busyrack_admin_tabs.js - This file adds the tab to the supporttickets page and shows the tab content - the same one from the git abov.

 

But it's not working for me - no tab is added to the ticket.

Can some one please help?

Regards,

Ram

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