Forums / General / content/action.php trouble

content/action.php trouble

Author Message

Cheikh Tidiane DIENG

Wednesday 27 October 2004 12:19:00 pm

Hi everybody

How execute <b>content/action</b> without login but when he asks for it.

Best regards.

Cheikh Tidiane DIENG
Computer Engineer
SYDESY.
[email protected]

Silke Fox

Thursday 28 October 2004 1:18:46 am

Could you give us more details?

What are you trying to do and what happens exactly?

silke

Cheikh Tidiane DIENG

Thursday 28 October 2004 2:48:37 am

I want to allow the visitor to add content, but only if they've created an account (eg. a forum when only members can post, but every one can create an account.
I created a rule saying every one but the anonymous user can create a content.
and a button "add a content" with an action content/edit (with two hidden post params, the class id and the node id)
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) aren't properly forwarded
So I get an error message instead of the proper form

Thanks.

Cheikh Tidiane DIENG
Computer Engineer
SYDESY.
[email protected]