We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Customize CP’s form submission based on Status

Development and Programming

Tiger0516's avatar
Tiger0516
31 posts
17 years ago
Tiger0516's avatar Tiger0516

After a user edited and submitted an entry, I want to do some custom work based on the setting of entry’s Status.

For example, if entry’s status is “Own”, author ID of this entry will be the user who submitted this form; if status is “Contribution”, then author ID will be some one else.

I think I shall go with an extension. Can anybody suggest me which one shall I go with?

Thanks,

       
Robin Sowell's avatar
Robin Sowell
13,160 posts
17 years ago
Robin Sowell's avatar Robin Sowell

Which hook, you mean? I THINK that submit_new_entry_start would work, because you could check/change the globals there. If not, submit_new_entry_end would do the trick. And… I’m going to shift this one down to the extensions forum where you may get more input on this one.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.