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

Help with custom fields

Development and Programming

Airtype Studio's avatar
Airtype Studio
14 posts
15 years ago
Airtype Studio's avatar Airtype Studio

Hi. I have two custom field types I need help wrapping my head around. I’m pretty new to customization / add-on development but can see utilities for both of these things so I’m reaching out for help.

Both are related to drop-down lists in the Publish page.

The first would allow a user to create a dropdown field type along with a blank line to add a new item to the list from the Publish form. If the option they want to use isn’t already in the list, the option to add it would exist.

The second would all that dropdown list to be populated via an external PHP application (SlideShow Pro Director) using a foreach function in PHP.

Anyone know of any existing add-ons that get near this functionality I could use to learn from? I’d be open to write something new or to use FieldFrame for this process, but need more information than I’m able to find online.

Marcus

       
Airtype Studio's avatar
Airtype Studio
14 posts
15 years ago
Airtype Studio's avatar Airtype Studio

To give a little more detail - I’m looking through things now. For the first scenario, I see ./controllers/cp/admin_content.php and ./controllers/cp/content_publish.php that both interact with the field_list_items column in the exp_channel_fields DB table.

In looking through, I can’t figure out exactly what’s happening where or which hooks I would use to change their default behavior, but that’s where I am now.

I feel comfortable that, once I understand how to hook in and what to edit, I can make the modifications in an extension to do what I’m looking to do.

Does that make it any easier?

       

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.