Jump to content

Extend the Support Manager Module


cjsmith87

Recommended Posts

I am trying to customize the Support Manager Ticketing system. I need to be able to add custom fields to the tickets, e.g. Type - Bug, Feature Request etc. I also need to add a product option so they can specify which product it relates to. I have created the field in the database and added code to the admin pages to show the field. It works and shows the value from the database but it cannot be updated from the site? I can post code on here but I wondered if maybe there was something else I need to do to make it save, e.g. set field permissions or something?

As a side note, is the best way to do this just to customize the plugin? It means I will not be able to install updates to the support manager without losing my changes which is a shame.

Link to comment
Share on other sites

The SupportManagerTickets model defines input validation rules and what table columns can be saved during an add/edit. My guess is you need to update that model to allow it to save your new columns.

Any time you update code to add customizations you risk them being overwritten during updates, so I would encourage you to maintain your own repository of your changes and merge in any updates when you upgrade Blesta so that you keep the plugin up-to-date and working with your customizations.

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.

Loading...
×
×
  • Create New...