Hi!
I did upgrade from drupal 5 to drupal and now I am trying to use content_profile for my node profile.
I used my own menu, with links to edit account and edit profile.
With Node profile I could use mysite/user/$user->uid/edit-profile in Drupal 5, but now, with content profile it doesn't works.
I found that the access to edit profile is e.g.
http://www.somvprahe.sk/node/5898/edit?destination=user%2F19
But I would ask you, if there is an option how to do some 'nice' url which can be used in menu
my cck type used for content profile names 'uprofile' so it would be possible to do profile edit url like this:
www.example.com/edit-profile/uprofile/userid? (www.example.com/edit-profile/cckTypeName/UserID)
Thanks for the answer
Igorik
http://www.somvprahe.sk
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | menu.png | 8.09 KB | subir_ghosh |
Comments
Comment #1
chuckienorton commentedI'd love the same thing! the "show link to edit profile" in content types doesn't look nice because it also those the "view" link in the middle of everyones profile page; which also allows people to view just that profile content (kind of weird for this site).
I'd love a way to allow members to edit their own profile once its created, but not allow anyone else to see a "view" link.
Thanks,
Chuck
Comment #2
fagoI've just added support for such a path and added this hint to the README:
* If you want to link to a content profile of a user, you can always link to the path
"user/UID/profile/TYPE" where UID is the users id and TYPE the machine readable content
type name, an example path would be "user/1/profile/profile".
This path is working regardless the user has already profile content created or not.
committed to 6.x-dev.
Comment #4
subir_ghoshI tried to create this as a menu item under admin/build/menu-customize/navigation/add
However, I am getting the error:
The path 'user/UID/profile/profile' is either invalid or you do not have access to it.
Comment #5
JohnnyW commented@newswatch -- use Menu Token module
Comment #6
subir_ghoshThanks. I will try.