A question about the new plugin system

This forum is for programmers who have questions about the source code.
Post Reply
richardwaite
Posts: 57
Joined: Thu Nov 15, 2007 6:51 am

A question about the new plugin system

Post by richardwaite »

I've been thinking about trying to code up a SoftDent memo-esque feature for quite some time. It looks like the plugin architecture should facilitate this, but without looking in detail I have just a few questions. Is there a "hook" for the initial login of a user? I would need something like this to display due or overdue memos to the user when they login. Am I understanding the hook concept correctly? I assume I'd be able to add a button to the toolbars like the old program links provided, so that takes care of opening the form to adding/removing/etc memos. This is something I'd really like to do. I guess my main question is how feasible it is right now.
User avatar
jordansparks
Site Admin
Posts: 5776
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: A question about the new plugin system

Post by jordansparks »

There are very few hooks. But we will add them very rapidly as requested. We expect to have thousands of hooks throughout the program. So, if you would like, I can add a hook at login in the same place where task reminders would pop up for a user when the log in.

And yes, buttons on the toolbars are a basic capability that any plugin has access to. The user gets to pick which toolbars, however, by using the selection box within the program link window.

It's extremely feasible. You just have the initial learning curve to deal with, which shouldn't last more than a few days. And then you're off and running.
Jordan Sparks, DMD
http://www.opendental.com
richardwaite
Posts: 57
Joined: Thu Nov 15, 2007 6:51 am

Re: A question about the new plugin system

Post by richardwaite »

Thanks. I think I'll go for it. How soon do you suppose the login hook could be added? Next released version?
User avatar
jordansparks
Site Admin
Posts: 5776
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: A question about the new plugin system

Post by jordansparks »

We always backport hooks to the beta version. This hook has now been added to version 7.0:

FormLogOn.butOK_Click_end
Jordan Sparks, DMD
http://www.opendental.com
User avatar
wjstarck
Posts: 949
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: A question about the new plugin system

Post by wjstarck »

While we're on the subject of hooks, I've been meaning to ask for one for awhile: Could you please add a hook so that I can add an item to the Setup menu?

Thanks.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
richardwaite
Posts: 57
Joined: Thu Nov 15, 2007 6:51 am

Re: A question about the new plugin system

Post by richardwaite »

Jordan, I see that you've commented the hook out in version 7.0 - is this a major bug? What exactly happens? Can I work on the plugin for now and expect it to be reinstated soon?
Post Reply