because of the destination behavior you can never get to the page that asks you to confirm deleting a node.... thus you can't delete a node through edit->delete.

Perhaps the custom destination should not work in cases of deletion.

CommentFileSizeAuthor
#3 customdestination.module.skip_perm.diff592 bytesdafeder

Comments

ragnarkurm’s picture

Same here,
unable to delete nodes :(

flevour’s picture

Status: Active » Closed (won't fix)

Sorry, this problem goes beyond the intended use for this module. It would need to have a custom PHP snippet of code added to each redireaction, an approach I don't want to take at the moment.
You may have a look at the Rules module: http://drupal.org/project/rules
Good luck and keep up the fun,
Francesco

dafeder’s picture

StatusFileSize
new592 bytes

I made a small hack to the module that may be worth considering for commit that gets around this problem in what I imagine might be a lot of use cases. By adding a permission "skip custom destination", users with this permission have a normal form submission experience and in the case of nodes can still delete and perform similar functions. If you're using customdestination to send lower-level users to a thank-you page after submission but want admins to retain the ability to delete, this may be useful.

with a little more work a separate perm could be create for every custom destination defined.

fishfilet’s picture

When I first saw this module I thought it would be exactly what I was looking for but due to the problem of not being able to delete a node I quickly found it would not work for my situation. While I can't imagine a situation where you would not need to possibly delete a node I am sure this module is a quick fix for some. However like the post said above I installed rules and it was just what I needed. If you are having this problem then I suggest you use it as well. You are able to set up a redirection on a for just like with this module but you are also able to say only do this for anonymous users or many other rules that you can define. So thanks for mentioning it above.

cft110’s picture

Is this a patch?