I'm making my first Craft plugin.

I have added custom fields to the right of an entry form with the cp.entries.edit.right-pane hook ("Share on..").

enter image description here

But I can't seem to find how to 'transfer' these values to my own plugin and to save them in my own table. The return value of several events I tried (ex. entries.saveEntry) are most of the time an EntryModel which do not include my custom fields.

And I guess making a custom fieldtype is a little overkill?

Thank you!


I think I found the answer, correct me if I'm wrong but you can access your post data in your plugin with:


Not sure if this is the recommended way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.