when switching on d_t it has nuked the ds template and used the node template instead. Given the nature of the beast, that's most unfortunate hence the major.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | devel_themer-alter-registry-late.patch | 2.06 KB | effulgentsia |
| #3 | 1193586.patch | 477 bytes | swentel |
| #2 | 1193586.patch | 527 bytes | swentel |
Comments
Comment #1
swentel commentedMeh, looks like the weight of ds is the problem - or the weight of devel_themer. Fun racing conditions in theme_registry_alter. If I change the weight of devel_themer to say 10, than all is ok again. So there are options:
- either file this agains devel_themer and a small patch againsts devel_themer.install to set the weight
- or maybe devel_themer_implements_alter() to inject their registry_alter as latest function
- check in ds_module_implements_alter to make sure devel_themer is last - which imo is the least interesting option.
tbh, I think option 1 is better, because there might be other modules/apps out there who want todo things on preprocessing.
Comment #2
swentel commentedModules with a lower weight implementing preprocess_hooks or injecting them also into the registry with hook_theme_registry_alter() are not found in devel_themer_theme_registry_alter(). Patch attached lowers the weight and fixes it all.
Comment #3
swentel commentedBetter patch using hook_module_implements_alter()
Comment #4
effulgentsia commentedThanks. Tweaked #3 a bit, and committed this to master branch.