We're using plone multisite to have one "source" plone site that can push content to various "target" plone sites. Works pretty well. Our customer had a new request: if you add images to the source site and include them in the kupu editor, they ought to be pushed along with the actual object you're working on. It looked a bit complicated, so I send off an email to the plone users mailinglist.
Duncan was quick to reply that kupu includes a ReftextField that can serve as a drop-in replacement of the regular TextField. The change is that it adds archetype references to the images that are included. And... archetype references are used by plone multisite to detect dependent content that should be dragged along to the target site! A bit of coding later and it worked. Great :-) Some comments:
I could hardly find any reference to ReftextField, so I thought a blog entry was in order to draw some attention to it :-)
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):