Wednesday 09 April 2003 6:36:34 am
Problem: We are developing a forum site and we notice that when you post forms as an anonymous user with 'Approve' workflow enabled the default code causes problems.
To fix this we changed the code in kernel/content/edit.php line 226 from:
$module->redirectToView( 'view', array( 'sitemap', 2 ) );
to
$module->redirectToView( 'view', array( 'full', 144 ) ); This then directs to a set page that the anonymous user to a page they have access too. The problem is that the node_id does is not available with workflow enabled so the page redirects to sitemap/2, this is not an allowed location, and eZ quite rightly asks for a login. This is not nice.
Request: Can you please let me know if you can get the forms to post correctly with workflow enabled? Is thhere something we are missing? Does it need fixing?
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|