I have a content type called personalad that each user is only allowed to have 1.

I need to create to urls for viewing their personalad and for editing their personal ad directly.

I'm wondering what PHP would be required to do this since I would basically need to only check content type personalad, and look for their uid to create the urls.

I also have the me module installed. No idea if this may make this more simple or more difficult.
Profiles are separate from personal ads.

Comments

seehui’s picture

Maybe you can take a look on the Views module?

http://drupal.org/project/views

Kristina-2’s picture

I'm not sure how views would relate to creating links on a menu.

seehui’s picture

This is what i had done before. I create a page on view, filter the type of content to be page, showing node title and node teaser, and on the node title itself is a link to the node. I set a path to show the view, and the path is shown in a menu as menu item.

If this is not what you want, just ignore it.

Kristina-2’s picture

No it's not at all what I am looking for.

Thanks.