Addon Development - taking it further

Post your requests for addons here, and discuss any addons in development here, as well.
Once an addon has completed development, it will be released in the "Addon Release" forum.

Moderator: Spunkmeyer

Addon Development - taking it further

Postby Dale Ray » Mon Feb 19, 2007 12:19 am

In the addon guide by elvii shows how to add profile and style types is documented. My questions are:

How would you actually save the profile information for a new profile?

How would you save a news style?

How would you save items to the database?

If an addon could save the basic pieces that Coranto uses when the addon is first run, it would be easier to implement some features. I am thinking that a run once setup could be included with the addon to 'install' the profiles, styles, and fields that the addon would use. After the setup process is done a flag can be set so that it is not called again and the setup file could be deleted.

Am I correct (but grossly oversimplifying) in thinking that there are probably subroutines in the core that you could call with the correct parameters to do these things? To do it properly you would have to 'poke around' the user's install first, checking to see if the profile, style, category and field names exist among other things.
Dale Ray
User avatar
Dale Ray
Posts: 1008
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana

Return to Addon Development and Requests

Who is online

Users browsing this forum: No registered users and 1 guest