A suggestion for a patch to have the settings on the node form available as a ctools content type - patch in next post.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MiSc’s picture

Patch attached :-)

DamienMcKenna’s picture

Status: Active » Needs work

Is there a reason to have the 'hide advanced' option?

MiSc’s picture

Status: Needs work » Needs review

Yes, if you want to not want the advanced settings, which I did not in my project.

DamienMcKenna’s picture

Status: Needs review » Needs work

If 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.

MiSc’s picture

Good point, I will work on that.

MiSc’s picture

Reworked the patch, now checking for submodules also.

DamienMcKenna’s picture

This 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.

MiSc’s picture

I am all in for suggestions - I have problem seeing how to do it dynamically, so point me in the direction :-)

MiSc’s picture

I 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.