I cannot make much sense out of the 'my usernode' menu item for each user. If I enable 'edit own usernode' in modules for authenticated users but there is no direct way to get to it. 'my usernode' links to http://mysite.com/usernode and that is not editable. The issue came up because the location module adds location related items to the usernode content type. And the user needs to edit that anytime without having to look it up in posts archives. Is there a fix to this? I am using the latest 4.7.x.-1.x-dev as of Jan 26 2007 on drupal 4.7.5.
Or should I ask this in the location forum?

-PK

Comments

fago’s picture

Status: Active » Fixed

this setting gives your users the permission to edit the node like normal, so the edit link would appear if the go to their node at node/NODE_ID - however for the path /usernode it doesn't appear, due to the way the drupal menu system works.

so to fix that, you could a short snippet in the theme of your usernode, which redirects your users to their usernode located at node/NODE_ID

e.g. use:

if (arg(0) == 'usernode') {
  drupal_goto('node/'. $nid);
}
pknag’s picture

Thanks. Something clicked after reading your post. I am still a drupal novice and only now I am getting into themes. The file template.php can be customized and copied to the bluemarine theme. It works. Thanks a lot.

Anonymous’s picture

Status: Fixed » Closed (fixed)