This would be an excellent usability feature; I have a several custom publishing options ( http://drupal.org/project/custom_pub ), but having only part of the publishing options switchable by fasttoggle feels a bit limited.

Thanks!

Comments

socialnicheguru’s picture

Title: Support for Custom publishing options? » Support for Custom publishing options? (D6 and D7)
Version: 6.x-1.3 » 7.x-1.x-dev

This is a great module.

Is there anyway to support custom_publishing option module for D7?

nigelcunningham’s picture

Assigned: Unassigned » nigelcunningham

Thanks for the request, and sorry for taking so long to get around to it.

I'm planning on reworking Fasttoggle to make the core a lot more generic and make things like this doable. I'll start on this within a couple of days, Lord willing.

kevinquillen’s picture

I think this is almost impossible to do without either introducing new hooks to add to option data (which already exists basically) or not using hook_form_FORM_ID_alter for Fasttoggle.

I had a working patch for Custom Publish Options, but the options simply will not show because hook_form_FORM_ID_alter is called after hook_form_alter according to the documentation- effectively overriding my attempt to add on to the options on the node form.

This means that even though I am supplying the custom options, I get overridden by hook_form_FORM_ID_alter in Fasttoggle.

http://api.drupal.org/api/drupal/modules%21system%21system.api.php/funct...

My patch for my own module (worked a few months ago, now doesn't):

http://drupal.org/files/1384006.patch

nigelcunningham’s picture

Patch just added to http://drupal.org/node/1384006 for D7.

nigelcunningham’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

The patch in the issue pointed to by comment 4 is ready to be applied (if it hasn't been already). Closing this issue.