I would like Users to be able to create content, not have it published but sent to moderation, and have it available to the Author to edit or view while it is in it's unpublished state. This is all possible, I have read http://drupal.org/node/131453.
However, for the User to view/edit his own content, he has to know the URL. If he enters the URL into the browser, it will pull up the page. But often users forget the URL (or don't write it down), so they cannot access their content. Is there a way to give the user a link (say in their My Account section) to go to the unpublished page?
I can code php, but I am new to Drupal, so if I need to code a page I can do it but need a little Drupal help . . .
Any help is greatly appreciated!
Comments
Comment #1
pwolanin commentedsure, implement hook_user to add the links. Basically, write a very small module, implementing:
http://api.drupal.org/api/function/hook_user/5
All you need is the "view" op:
"view": The user's account information is being displayed. The module should format its custom additions for display.
Or, you can also do it at the theme level, like:
http://drupal.org/node/205219
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
ceo3141 commentedFor anyone else looking to do this . . . the easiest thing to do is to use the Tracker Module. In the code, when it makes the call to the database, it looks for the User's nodes that are published (status = 1). If you remove that from the sql query, then all of the User's nodes, published & unpublished will show on the User's 'Track' page.