I am using both this module and Field Label Plurals but it seems that this module is overwriting the effect of the module (having different text in the label for when there is only one value), instead of complimenting it (only overwriting the edit field name).
Essentially it seems like the modules are being run in the wrong order - FDL should be run first (to change the label on display), then FLP (to change it again if the value is singular),
Is there any this can be achieved? I apologise if I should be posting this as an issue with FLP instead of FDL - I haven't checked the code.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | field_label_plurals-make_compatible_with-2326749-3.patch | 828 bytes | plazik |
| #2 | 2326749-remove-theme-registry-alter.patch | 645 bytes | Niklas Fiekas |
Comments
Comment #1
nattsComment #2
Niklas Fiekas commentedHi,
this patch should be a first step in the right direction. As far as I can tell there is no need to forcibly register
field_display_label_preprocess_fieldas the last preprocess function to be executed. By it's name alone it already implements hook_preprocess_HOOK() for theme_field().After that it works on my test site, but it's probably pure luck that the order is now correct. We should have a look at that once this is sorted out.
Best regards
Niklas
Comment #3
plazik commented@Niklas Fiekas, thank you for the patch. I've just added a proper comment for preprocess function.
Comment #5
plazik commented