Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A suggestion for a patch to have the settings on the node form available as a ctools content type - patch in next post.
Comment | File | Size | Author |
---|---|---|---|
#6 | content_type-1955414-6.patch | 5.53 KB | MiSc |
#1 | content_type-1955414-1.patch | 3.75 KB | MiSc |
Comments
Comment #1
MiSc CreditAttribution: MiSc commentedPatch attached :-)
Comment #2
DamienMcKennaIs there a reason to have the 'hide advanced' option?
Comment #3
MiSc CreditAttribution: MiSc commentedYes, if you want to not want the advanced settings, which I did not in my project.
Comment #4
DamienMcKennaIf any of the submodules are enabled might you not also want to hide those? I suggest rewriting it to see what fieldsets are included and then provide options to hide each one.
Comment #5
MiSc CreditAttribution: MiSc commentedGood point, I will work on that.
Comment #6
MiSc CreditAttribution: MiSc commentedReworked the patch, now checking for submodules also.
Comment #7
DamienMcKennaThis needs further work to handle the optional fieldsets dynamically rather than them being hardcoded, that way it won't have to be updated as we add more submodules.
Comment #8
MiSc CreditAttribution: MiSc commentedI am all in for suggestions - I have problem seeing how to do it dynamically, so point me in the direction :-)
Comment #9
MiSc CreditAttribution: MiSc commentedI think, if this should be dynamic, we need to add stuff to the submodules, to identify them as submodules, I will try to do a patch on that later this week.