• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Is there a way to add a cron entry and user profile fields via a callback?

James

Well-known member
#2
Cron entries can be assigned to an add-on, so that they are exported with the XML.

Custom fields must be added manually or added in an install function to be executed on installation of your add-on.
 

James

Well-known member
#4
Ah, thanks didn't notice that.


By running a query adding them to the table correct?
Not necessarily running a raw query, you should be able to hook into the UserField Model and create them that way.

Nevertheless, it will be directly adding them to the DB as an end result.