Hi,

How can I set up a menu item to lead to the path www.website.com/"name of the logged-in user"?

Steven

Comments

blackarma’s picture

To do that you put user/% in menu path.
To be able to produce url like www.website.com/loggedinuser you would probably use pathauto module to rewrite whole /users/% to /%.
You can also dig into api.drupal.org to find out how can you alter stuff.

steven9’s picture

Thank you for the reply armababy, but you misunderstood me or I didn't explain well.

With the Views module I made it that www.website.com/"nameoftheloggedinuser" shows a list of all the nodes of a certain type that the user has created. Now I want to add a link in the menu something like "My nodes" with this path www.website.com/"name of the logged-in user". I am trying to add it in Administer -> Menu but how?

WorldFallz’s picture

SamSound’s picture

go to edit your view, go to page settings at the bottom left. click on menu -> normal menu item, then fill in the menu details. Aned views makes it automatically.

steven9’s picture

None of these solution does what I need.