Hello There!
I am using osTicket 1.17.2 on which I'm trying to install this 3rd party plugin: https://github.com/clonemeagain/osticket-plugin-mentioner
It doesn't work on my system as-is so I'm trying to customize it.
Specifically the plugin is unable to get its config correctly.
This is what I get on $this->getConfig() :
{
"table":"ost2_config",
"instance":null,
"form":null,
"_config":{
"at-mentions":true,
"by-agents-only":true,
"sbh":true,
"notice-subject":"You were mentioned in ticket #%{ticket.number}",
"notice-template":"\n<h3><strong>Hi %{recipient.name.first},..."
},
"config":[],
"section":null,
"section_column":"namespace",
"session":null,
"defaults":[]
}
Totally different config is stored in the database.
As far as I understand this is because it determines "instance" as null and falls back to default values.
I am new to PHP and osTicket in specifically. Can I get a piece of advise on this particular case?
I was not able to find any documentation on how to develop plugins. If there is one, please show me where to find it.
Thanks.