CCK field value synchronization

Events happening in the community are now at Drupal community events on www.drupal.org.
swentel's picture

Hi,

I've been working on a very small module the last two days which has this specific functionality right now:

  • If translation is enabled, an aditional fieldset becomes available on the content type edit form
  • The fieldset lists all existing fields of a content type (title, body and all other cck fields)
  • You can select which fields should be synchronized when a node is updated

So eg. you have 3 languages and 3 nodes are linked together and they have a field called 'Price'. If you selected this field on the settings form and you update one of the nodes, the value of price will also be synced across all other nodes. Now you don't need to edit 3 nodes at the same time. Tested with basic cck fields, not yet with special ones like filefield.

Some opinions I need from you guys:

  • Is 'CCK field value synchronization' a good name? I don't mention anything in the title related to language/translation because I suspect that I'll get feature request like 'also sync field values when having this taxonomy term' or even custom (an autocomplete field where you can choose other nodes)
  • I already skimmed through the modules page and I'm pretty sure there is no module yet available that has this functionality, but I want to make sure, you never know I overlooked something, so if you happen to know a module that already does this, let me know.

If all goes well, I should be able to make a release somewhere next week.

Comments

Ok after some discussion

swentel's picture

Ok after some discussion with some colleagues, I think the name should be 'Field value synchronization'. This module isn't dependant on CCK as you can also choose to sync the title field. So I guess that's one down for me. I'm going for a last research on the modules page to see if any other module out there supports this functionality!

Looks like

swentel's picture

Looks like http://drupal.org/project/shared_values should do the job, there is no 5.x version though, so I'll contact the maintainer to see what his plans are ...

Did you ever release?

Feet's picture

Hi swentel,

Did you ever make or release the module?

I see shared_values hasn't moved from 5 and the maintainer hasn't answered your comment.

Any suggestions how to achieve field value synchronization?

Thanks,

Riki

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: