Hi, I have been having a discussion with the maintainer of Date Pop Authored (DPA) about how these two modules interact.
DPA first checks if the user has access to the "authored on" field, but since none of the modules set their weight, DPA is called first due the alphabetical order. This means that it doesn't detect the access modification made by Override Node Options (ONO).
I have tried setting the weight of ONO to a negative value, which apparently solves the problem. However, I don't know if permanently lowering the weight of ONO could have other implications. If not, would you consider lowering its weight in override_node_options.install?
Comments
Comment #1
TripleEmcoder commentedJust as an FYI, the recent versions of these modules for 7.x seem to work together well without any tweaking.
Comment #2
jonhattanNo, it doesn't work in D7 without tweaking module weights.
Comment #3
jonhattanComment #4
jonhattantypo fixed.
Comment #5
rwinikates commentedApplied uploaded patch and it works great. Ready for inclusion in a tagged release, if you wouldn't mind!
Comment #6
rwinikates commentedBump. Any of the maintainers out there? This would really be helpful.
Comment #7
Cauliflower commentedPatch tested and works as expected.
Comment #8
opdaviesCommitted to 7.x-1.x-dev. Thanks! :)
Comment #10
arun ak commentedHi
This same issue is happening on 6.x-1.12 branch also. I have tried the patch posted above comment. But still it is not working Please help me.
Thanks and Regards
ARUN AK
Comment #11
arun ak commentedComment #12
opdaviesThe above patch is for Drupal 7 so it won't work for Drupal 6.
I'll backport the change into the 6.x-1.x-dev branch.
Comment #13
opdaviesComment #14
opdaviesComment #16
opdaviesComment #18
jonhattanFor hte record, in Drupal 7 mdule ordering can be tweaked by implementing module_implements_alter().
Comment #19
opdaviesWhilst looking at #826522: Add permission to edit comment settings, I noticed that the change made to the weight value in this issue is preventing ONO from overriding the core comment module so the default value has been changed back to
1rather than-1.I think that more edge-case scenarios like the one with DPA can be resolved on an individual basis, maybe using hook_module_implements_alter() as suggested in #19.