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
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?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.