Hi Guys, great module!

I need a button right next to the save button in the node edit form which saves the node and directly redirects to the node/add form of the same content type.
On the module description pageand on the "Value tab" on admin/config/mb/buttons I scan see that I can change the label for the "Save and create new" button. That button sounds like it does my job.
BUT on the "contents tab", where the buttons will be switched on, there is no save and create new button, only option for the other three buttons:
Cancel button
Save and continue button
create new TAB

Any ideas?

Comments

Chris Pergantis’s picture

You are in my exact same situation, Breakerandi.

I just installed the module not 10 minutes ago and found that there are still some missing functions. If I find anything out I will post it here. Please do the same for me.

dgastudio’s picture

still not fixed?

Yuri’s picture

'Save And Create New' is visible as option in the value settings page, but that column is indeed still missing on the contents button settings page.

Maintainers, are you able to look at this?
Thank you.

xandeadx’s picture

Please fix

noslokire’s picture

Using http://drupal.org/project/addanother module for this until this gets corrected. Would love to see forces merged in this regard (see http://drupal.org/node/1371956)

Robin Monks’s picture

Hi,

I'm the creator of the Add Another module, I've replied concerning merging these two modules here: #1371956: Merge with More buttons?. In summary, I don't believe the two modules have compatible goals for simplicity and workflow to make combining them a good choice. That said I do recognize that providing options for altering and organizing all node buttons may sometimes be required. I'd suggest More Buttons be altered to alter default buttons and the node buttons created by other modules such as Add Another, rather than try to "go it all alone" and provide all features itself (unless where it comes to mapping existing functions like "cancel" to buttons).

In the mean time, folks can continue to use More Buttons for all buttons except for "save and create new" and use Add Another for that one function.

/Robin

Robin Monks’s picture

Assigned: Breakerandi » Unassigned
mautumn’s picture

The distinction between mb and addanother seems very artificial and pedantic. It seems to me mb is a superset of addanother and I can't see any reason to separate their functionality given that each button is selectable in mb.

Initially I installed addanother because that was my first requirement, then later looked for a cancel button module and found mb. I thought "great: there's one module that does add another and cancel buttons!", uninstalled addanother and added mb.

So it came as a big disappointment to discover that mb does not do what it says on the tin - it does not have a save and add new button feature - and so I have wasted a lot of time looking for functionality which was never there, and I thought I was doing something wrong or missing something!

@robin: I really appreciate your module but if you choose not to put specific functionality in it then for goodness sake don't specify that that feature exists on the module features page when it doesn't?! We shouldn't have to trawl through issues pages to discover this! Trade descriptions infringement? I really appreciate your contribution but I don't understand your reasoning and I don't agree with you not to have the save and add new/another feature in mb.

Robin Monks’s picture

I have nothing against an Add Another feature in More Buttons, I just think Add Another supplies most needs quite well and don't want to force people into a lot of additional configuration and options. I'll look over both again at some point in the near future to see if there is a way to allow Add Another to appear in the MB admin interface when both are installed. I have no issue at all with the modules working together, I just think that Add Another supplies most needs well and don't want to introduce complexity.. in any case it's something I'll be revising for Add Another 3.x which I am now planning.

/Robin

clivesj’s picture

Save-and-Create-New not present on the node create form.
I have checked the code in mb_content:
I guess the injection of the MB-buttons occurs here:

function mb_content_form_alter(&$form, &$form_state, $form_id) {

However, there is no code there to put SAVE AND CREATE NEW on the form. It is just missing. Unless I'm missing something.
I would be happy to add the code, but that would require some reverse engineering and maybe wasted time.

Maybe the maintainer could shed their light on this issue....

(Last commit is more than two years ago....)

alibama’s picture

Issue summary: View changes

yeah - checked permissions too.... this feature does not work