Hi joachim, is Content Distribution support for Retrieve Image place in Body Content which use IMCE / WYSIWYG content Editing...?
i have try, its only work with image / CCK but... Image place on Body use IMCE it dos'nt work..
Thx Friend.
Hi joachim, is Content Distribution support for Retrieve Image place in Body Content which use IMCE / WYSIWYG content Editing...?
i have try, its only work with image / CCK but... Image place on Body use IMCE it dos'nt work..
Thx Friend.
Comments
Comment #1
joachim commentedCould probably be done with Transport, assuming IMCE saves things with a proper entry in the files table.
Not something I can commit time to, but feel free to dive in :)
Comment #2
joachim commentedMore specifically, you'd need this:
1. An implementation of hook_transport_process_dependencies_node() which tells the node remote entity class about a file dependency. This should probably be done on behalf of IMCE module. This needs to go through the body of the node (and indeed any other IMCE-enabled text fields!) and figure out which image files are included.
2. Hmm now the hard part: you can't just shove a reference into the translation array because the IMCE file isn't represented directly in the node array, only within the body text. The way to do get round this would be to implement the postprocess alter hook (I think there is one!) and work on the node body before the node is saved.
Comment #3
joachim commented> assuming IMCE saves things with a proper entry in the files table.
Turns out IMCE is well-behaved, and does save details in {files}. It also has {imce_files}, where it just lists the files fids it has a claim to.