Closed (fixed)
Project:
Multistep (D7)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
27 Aug 2009 at 04:54 UTC
Updated:
16 May 2024 at 00:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vkareh commentedI guess you're right. You can always set the node permissions to allow deletion or not. Being able to hide the "Preview" button seems to be something that should already be part of core, but I'll leave that for those that know. :P
I don't really see a need for keeping Ubercart's "Save and continue" button, since the Save button does the exact same thing. Duplicate buttons would clutter the form. What I might do is just leave it to the admin to decide. There might even be a case where you don't want the "Previous" button, or even the "Save"... I dunno... I can just throw in a bunch of checkboxes and let each website administrator handle their own forms. :P
Comment #2
vkareh commentedThis quick patch will tentatively take care of allowing the users to choose whether they want to remove the Preview button. The Delete button will be handled by the node permissions; in other words, multistep won't interfere with the Delete button. Ubercart's "Save and continue" button will be removed regardless of any choice, since it has duplicate functionality.
Eventually I might add an option to individually select which buttons to show/remove, but for now this should take care of the Delete/Preview issue.
Please test and let me know. (Make sure you do a checkout of the latest cvs snapshot).
Comment #3
vkareh commentedSorry, forgot to change status.
Comment #4
Anonymous (not verified) commentedCode from this patch now included in this issue: #530848: Revisions and Published state
Comment #5
vkareh commentedRolled the patch into the latest development snapshot.