Project

General

Profile

Creating custom fields in the plugin

Added by Hamish Downer about 14 years ago

I want to write a plugin that will depend on quite a few custom fields, so I would like to create the custom fields automatically. Ideally within the plugin code, or if not by a script I can run when I install the plugin - I really don't want to have to create 10+ fields through the web interface when I set this up, especially when one is a list with quite a few values.

Can anyone tell me if there are standard ways of doing this?


Replies (1)

RE: Creating custom fields in the plugin - Added by Jacky Leung almost 14 years ago

write a ruckusing script and do db:migrate_plugins to update info for your plugin?

    (1-1/1)