10/16/2013 at 7:15 pm
#271650
Keymaster
@ Alice
Yes, you could do that. I’m guessing that form plugin has an action that you could hook into that passes the submitted form data. Hook in to that action and create a new instance the the cnEntry object. I tend to use:
$entry = new cnEntry();
You can then set the entry details using the supplied form data using the class setter methods. They’re all documented in the code… I think. After you’ve set the data from the form data; just save:
$entry->save();
I hope that helps get you on your way with your project!
