I was wondering if there is a built in method in Drupal, to link to nodes created by a user. In my case, each and every user can create a node called "profile". I want to add a link in the menu, that links directly to that profile node.
I can do it by making a module that just checks for a link, e.g. mysite.com/?goTo=profile and then just write the sql to find the first node of type "profile" in the db and then just redirect to that, but surely drupal must have some kind of syntax or something by which you can specify that it must link to the first node of type x of user y?