Doesn't work for non-admin users

glennnz - August 3, 2009 - 04:29
Project:Submit Again
Version:6.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi

For user/1 this works great, but for any other user, the create another button doesn't work. In my case, where the node is being created via uc_node_checkout, the user is directed to their shopping cart.

Thanks

Glenn

#1

glennnz - August 4, 2009 - 03:04

UPDATE

There is a funky thing between this module and uc_node_checkout with permissions.

I want my site to function so that, when a user clicks the 'Submit' button on the node add page, they are taken to the cart. If I set that up, the Submit Again button takes me to the cart as well, if I set up uc_node_access so that the submit again button takes me to another node add page, then the 'Submit' button goes to the node view rather than the cart.

I've tried all day to work a way round this, amended both your and the submit again code, tried adding custom redirects, can't get anything to work.

Any suggestions?

Thanks

Glenn

 
 

Drupal is a registered trademark of Dries Buytaert.