problem for create content with anonymous user

Author Message

Cheikh Tidiane DIENG

Thursday 28 October 2004 3:08:54 am

I want to allow the visitor to add content, but only if they've created an account (eg. a forum where only members can post, but every one can create an account and hence becomes a member).

I created a rule saying every one but the anonymous user can create a content,and added a button "add a content" with an action content/edit (with two hidden post params, the class id and the node id). It works fine for an authenticated user (eg. a member or an admin).

However, I gave a problem with the anonymous user:

When an anonymous user clics on "add a content", he's (correctly) redirected to /user/login.
But when he logs in, he is redirected to /content/action, without the post params (the nodeid and the class id) that aren't properly forwarded
So he gets an error message instead of the proper form

Any idea on how to fix that ? I haven't found anything on the documentation, any advice more than welcome

Thanks.

Cheikh Tidiane DIENG
Computer Engineer
SYDESY.
[email protected]

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.