Active
Project:
Multi Node Edit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2011 at 20:50 UTC
Updated:
27 Dec 2012 at 19:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
texas-bronius commented@joachim: I'm new to this module, but I'd guess you're correct: Would make more sense to replace system_settings_form by adding a simple Save button to the form and be done with it, right?
Comment #2
texas-bronius commentedThinking out loud here: To address @Joachim's reported issue, I changed a couple lines to:
and then at the bottom:
This appears to work (gets rid of system config buttons and submit handler, adds original buttons from the last node in the chain), but I don't get why it's not reflected in the theme: In my particular theme, the action buttons are always repeated from the bottom of the screen, again at the top-right of the screen. Any tips why it's not happening here? There's still an empty placeholder up there:

The system_settings_form() method did show duplicate buttons as expected.
Comment #3
joachim commentedIt's a long time since I filed this so I don't really remember, but you definitely shouldn't be using system_settings_form() at all. Instead you should have a custom save handler. Not sure about your problem with buttons, sorry.
Comment #4
a_c_m commentedGoing to apply : http://drupalcode.org/sandbox/bronius/1835316.git/commitdiff/4f4d9bc33ff...
Comment #5
texas-bronius commentedI feel ill-placed time chipping away on a D6 project ;) but limelight welcome all the same! I should add that recently I found it didn't make sense to keep the "Delete" button that comes with the first node in the stack (whence the $buttons are derived). It might be a local business case decision what to do with it, but for me, I swapped Delete for a new Cancel button and its own custom action (I think it just goes back to the drupal_get_destination destination... don't recall offhand).
Merry Christmas!