Active
Project:
modr8
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2011 at 13:00 UTC
Updated:
22 Jun 2012 at 11:47 UTC
I am using modr8 for some content types, modr8 is working correctly except for the confusing message that is displayed after the anonymous user submits content.
after they hit submit, they are taken to a page that says their content is going to be moderated, but the title of the page also says "Access Denied"
how can I stop that happenning?
here is a screenshot http://www.flickr.com/photos/65062256@N07/5925702177/
| Comment | File | Size | Author |
|---|---|---|---|
| Screen shot 2011-07-11 at 13.49.49.png | 19.16 KB | jnui |
Comments
Comment #1
jnui commentedto clarify my above message.
I want everything to remain the same, except I don't want it to say access denied.
prefarably something like, "Your submission has been put in the queue for moderation" as the page title and page heading
also remove the last piece of text that says "you are not authorized to access this page"
Comment #2
jruberto commentedI know this is an older issue, but still seems relevant to document for posterity.. I just had a client complain about this same thing. Temporary solution:
Drupal's default behavior after creating a node is to display that node to the user who created it. In this case, it is obviously going to create an access denied situation since the node needs to be moderated before anyone can see it.
A workaround is to use Drupal's "destination" parameter in the node creation URL.. If you just use the following for the anonymous user's create content link:
http://mysite.com/node/add/story?destination=home
Then after creating the "story" content the user will be redirected to "home" and will still have the yellow box from your screen shot.
Comment #3
mathankumarc commentedThis seems to be a core bug #1429442: Access denied page shown after submitting form that creates a unpublished node
Comment #4
mathankumarc commentedMarked #717338: Deselecting "In moderation queue" makes node not visible for anonymous users as duplicate of this.