I'd like to write some code to interface conflict checking with the node repeat module. This module creates individual nodes using the Date Repeat API, but since it spans it's date information across these multiple nodes, I don't believe it will work with the current efforts to get repeating events checked for conflicts.
So, as a non-developer (who will be hiring a developer to write this), can you offer some insight on where and how a small module may hook into the node creation process to check for conflicts? Which hooks and where to deploy them to enable checking?
I'd use any help/direction you could give to have a developer write a small module to make it happen. Then, of course, we'd push the module back to drupal.org as a separate module or as something that could be included in the resource_conflict package if desired.
Any help and direction on getting this done is appreciated. Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | node_repeat.module-validation.patch | 4.04 KB | gagarine |
| #5 | node_repeat_modulevalidation_patch.zip | 1.37 KB | suydam |
Comments
Comment #1
deviantintegral commentedRight now, the module itself has no hooks like what you would need. You should point your developer to #750598: hook(s) for field- and node-handlers, as that would probably be the right place to start for a proper API.
Comment #2
Rob_Feature commentedOk, so it sounds like the patch would be to add actual field/node handler hooks to resource conflict so it can then be tied into. I'll be having someone do this in the near future and I'll have them post a patch here.
Comment #3
Rob_Feature commentedChanging this issue to node_repeat module since, most likely, this is an issue where node_repeat isn't creating nodes via proper hooks, therefore resource conflict isn't included in the creation process.
The idea, most likely, will be to patch this module to use proper hooks on node creation. I'd love to hear some input form the node_repeat developer on this issue if possible.
Comment #4
Rob_Feature commentedThis patch has been rolled, however due to what looks like a bug in Date API, the exceptions still don't work with it. Patch to be posted soon by developer.
Comment #5
suydam commentedPatch to node_repeat validation attached. This enables integration with resource conflict.
As mentioned, the exceptions piece doesn't work right with DateAPI as far as I can tell.
Comment #6
gagarine commentedrepost the patch unziped... This patch need work to be applied on the -dev.
I'm thinking of creating the sequence right on the node submit using the date repeat widget. I don't want to spend to much time working on that because lot of code are going to change.
Comment #7
gagarine commentedNeed work in fact...
Comment #8
Rob_Feature commentedgagarine: Any updates on compatibility of node repeat with resource conflict? (are the parts of the above patch that make this compatible with resource conflict in any newer versions of the module)
Comment #9
gagarine commentedSomeone should try with this version... I will when I got some time.