Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Docs for plugins

How does it work?

I've managed to port some mods to plugins, got some lovely admin screens generated and working etc, however actually doing things seems to be the problem.

How does it hook the rest of the system?

The authentication system seems to have required extensive modification of the existing classes to plug in as it were. For anything else, we'd have to also Mod the code and then plug in. which seems to defeat the point.

Maybe I just don't understand it.

Can someone explain how it works to me like I'm a fine year old? ELi5 etc :-)

Figuring out how the auth mod worked I've abstracted a few classes and added my own similar architecture, but it's hackneyed and probably not as intended. I'd love to know the correct way.

Thanks!

Comments

  • I've been told to expect a plugin manual when 1.8.1 is released. :)
  • Ok.. I'll wait. :-)
  • I cant wait! Please post a link to the manual here when available please.
  • Man these were difficult to understand.. Tables with no comments, classes with no PHPDocs.. At least there is some type-hinting, but it's a bit of a crapshoot figuring out what is supposed to go where and why. 

    Some things can be hooked with class Signal.. that's what I've been working with. 

    My best advise? Find a working plugin and copy it, then edit it to do what you want. 

  • /agree
Sign In or Register to comment.