07/25/2013 at 3:05 pm
#265808
Keymaster
@ Ryan
Actually, you shouldn’t need to add anything to the core Connections plugin. I’ve been restructuring code myself in order to support this.
1. Create and register a new metabox that get displayed on the add/edit entry admin page.
2. Add a cn_{action-name} that only is fired in the admin.
3. Grab you the values from $_POST.
4. Since I don’t have an entry meta API yet you’ll have to write methods to add/update/delete from the entry_meta table. You’ll also have write methods for retried and display from the entry_meta table, you’ll want to write then in a way that you can use them in the template files.
That’s pretty high level … but it is the same exact path I’m going to take.