Active
Project:
Javascript Tools
Version:
5.x-1.x-dev
Component:
Activeedit
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2007 at 01:22 UTC
Updated:
25 Jul 2008 at 07:30 UTC
Is there a solution for in-place editing of CCK fields? If not.. what would be involved in adding this feature?
After creating a content type with over 50 fields, and I'd love to be able to pop up the widget for each CCK field, edit and submit.
Comments
Comment #1
nedjoActiveedit can be extended to add support for a given module by writing a modulename.inc file and adding it to the /modules directory in the activedit module directory. It will be automatically included if the module it's named for is enabled.
In this case, we'd need a content.inc file. It will need, at a minimum, an implementation of
hook_activeedit_elements().This hook returns information on the form fields to attach this behavior to. For an example, see node.inc's
function node_activeedit_elements().The basic node editing framework is already taken care of. What we need to add is just the specific data needed for editing this element. Here are some notes.
Comment #2
jcipriani commentedIs there a way to activate one field at a time when using custom CCK fields?
A la Flickr, I'd like to be able to double-click the heading and have just the heading turn into a input field.