Hi All,
Hoping someone can provide some insight into licensing functionality.
I have been developing a couple modules (one free, other for sale). i am having some difficulty with implementation of licensing for my module.
Looking at a couple modules I have purchased there does not appear to be a consistent way of implementing the license UI. The implementation of encypting some registration information is not the problem, I am having dificulty in how to implement the ui part of it.
The three approaches I have seen::
1) The view control displays a input box if the control is not registered and takes a license key (either emailed or auto generated from developer site).
2) Message appears on module load, with link to registration control (on another page)
3) Add an action menu item which links to the settings page to enter the license key (This can be done directly from the settings page)
I would like to be able to implement option 2, but have not been able to work out how it has been done.
From what I can determine, the module is installed and the main control added to a page. The registration control is not added to any page, but a link is displayed when the module loads, this links to a (registration) page with a registration control added.
I have not been to work out how the registration page is created and the registration control added. I have assumed it might be done directly from the SqlDataProvider scripts, but didn't see anything that looks like it would do that.
I would appreciate any feedback on licensing, either for my preferred approach or one I had not considered.
It would be nice to resolve this and get back to developing :)
Thanks,
Gary