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

Extension hook for add and edit form before saving to db?

Development and Programming

versatiletech's avatar
versatiletech
13 posts
17 years ago
versatiletech's avatar versatiletech

Here’s my scenario. I have a “Featured on Landing Page?” custom field drop down (landing-featured) with “Yes” and “No” as options. For each weblog I only want one entry to have the ability to be featured on a landing page. Currently, two or more entries can be featured on the landing page which isn’t what I want. This can be solved if I update all entries for landing-featured to NULL, an empty string, or “No” and then let EE process the form as usual. I also want this to happen to affect specified weblogs and specifically when I add or edit an entry. I want to know what extension hook is appropriate for what I want. Any ideas?

Thanks ahead of time :D.

Moved by Moderator to Extensions: Technical Assistance

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
17 years ago
Sue Crocker's avatar Sue Crocker

Hi, versatiletech.

This is more of a programming question than a TechSupport question, so I’m going to move it.

       
versatiletech's avatar
versatiletech
13 posts
17 years ago
versatiletech's avatar versatiletech

Thanks Sue. I didn’t scroll down far enough to see that there was an extensions section. Hehe.

       
versatiletech's avatar
versatiletech
13 posts
17 years ago
versatiletech's avatar versatiletech

Bump.

       

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.