Closed (fixed)
Project:
Diff
Version:
5.x-1.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 May 2007 at 19:47 UTC
Updated:
20 Jun 2007 at 20:52 UTC
I've written a couple of cck field modules such as cck_address and would like to know how I can add support for them. Should I create a patch for cck.inc? Or can I somehow include hook_diff in my own module? I don't see anything in cck.inc that says it has to go through cck, so I assume I can take the latter course and pretty much copy the form of content_diff into my own module. That's assuming you do an invoke_all somewhere. I haven't looked yet.
Is there anything I not seeing here? Let me know so I can proceed. Thanks.
Comments
Comment #1
dwwyes, hook_diff() is invoked for all modules by diff.module:
therefore, yes, the way to add support for this is to implement hook_diff() in your own CCK module(s).
cheers,
-derek
Comment #2
rconstantine commentedThanks. I'll get the changes into my cck_fullname and cck_address modules pronto!
Comment #3
(not verified) commented