I've been asked to change the order of the back/next/cancel buttons, to put cancel before the others (don't ask). I've browsed the code, and the position of the buttons appears to be hardcoded in ctools_wizard_wrapper, with no way to change the order at the theme layer (unless you use CSS, that doesn't seem optimal)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | ctools-actions_wrapper-930952-5.patch | 796 bytes | nagiek |
| #5 | ctools-actions_wrapper-930952-5.patch | 796 bytes | nagiek |
| #2 | ctools-theme_wizard_buttons-930952-2.patch | 2.06 KB | nagiek |
Comments
Comment #1
AntoniTen commentedComment #2
nagiek commentedThis could help me too. Here's a patch for 7.x.
Comment #3
merlinofchaos commentedShouldn't we actually be using #type => 'actions' instead?
Comment #4
merlinofchaos commentedComment #5
nagiek commentedSure that's easier. I went this way to add my own class to the wrapper, but
#type=>'actions'has the same effect.Micro patch attached.
Comment #6
nagiek commentedSure that's easier. I went this way to add my own class to the wrapper, but
#type=>'actions'has the same effect.Micro patch attached.
Comment #7
tim.plunkettYep, looks good.
Comment #8
tim.plunkettActually, since it was @merlinofchaos' idea in #3 in the first place, I'm going to be bold and commit this.
Thanks @nagiek!
http://drupalcode.org/project/ctools.git/commit/df98d1f