I think it will not redirect to try to delete the node.

Comments

flevour’s picture

Status: Active » Postponed (maintainer needs more info)

Hi jonasanx,
could you please explain your problem better?
Thank you for using Custom Destination,
Francesco

Shai’s picture

I have the same problem.

Here is a detailed description of the problem:

I have a content-type called "subscriber." After an admin adds a new subscriber, upon "save" I want another "node/add/subscriber" form to appear, instead of presenting me with a view of the subscriber I just created.

In custom form destination my settings are:

form id: subscriber_node_form
destination: node/add/subscriber

This works brilliantly. Thank you.

The problem: Let's say I want to delete one of the subscribers I just created. I have a view of all the subscribers with edit links that shows up below the form on node/add/subscriber pages. I click "edit" on one of the subscribers. I then click on the "Delete" button at the bottom of the form. It takes me back to node/add/subscriber and does not delete the subscriber. The problem is this: the value of the form id is "subscriber_node_form" when you are creating a new node or editing an existing one. So, instead of the page going to the delete confirmation, custom form destination intercepts and sends you to another node/add/subscriber form.

Do you know of any way around that?

Thanks again for the great module.

Shai Gluskin