Closed (works as designed)
Project:
Profile 2
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2011 at 22:41 UTC
Updated:
5 May 2015 at 09:09 UTC
Jump to comment: Most recent
Comments
Comment #1
dave reidMarked #1062756: Tokens of Profile2 fields are not recognized for pathauto as a duplicate of this issue.
Comment #2
clashar commented+1
can't find this functionality too
Comment #3
sslider999 commentedsub
Comment #4
fagoDo you have the "Entity tokens" module enabled?
Comment #5
clashar commentedYes I have "Entity tokens" module enabled, but seems I made an error posting here.
I have replacement patterns for special content types, for example: [current-user:profile-main:field-pfj-fname]
But don't see any settings for Profile2 in "admin/config/search/path/patterns"
I would like that Profile page path would be accessible with special path with replacement patterns.
So I should open another issue.
Comment #6
Adam S commentedAre there any plans to include pathauto integration with profile2?
Comment #7
MostlyGhostly commentedHi there,
I've been puzzling over this for a while and I have found a workaround which suits my needs - and maybe yours. It doesn't require and code hacks or editing at all.
I simply wanted to create a page which listed profiles with a link to them - Profile2 didn't allow this because of the tokens. The trick I figured out is to use a user_id field, hide it - if you wish, but keep it above the field which you want to create as a link. You can then use this id as a pattern (it lists is below). It works perfectly well for me, and hopefully it'll help someone else out. I know it's not an ideal solution, but it works without tearing through the code.
Please let me know how you get on with it - or if I haven't been particularly clear!
Best wishes,
MG
Comment #8
sslider999 commentedHello,
On you post you mention
.
Should be something attached?
I didn`t understand all of it, can you elaborate?
Thanks
Comment #9
tintoThanks MostlyGhostly for your post, but I don't think your solution has anything to do with this issue. Your simply building a view of a list of links to profiles but this has nothing to do with Pathauto.
What we would like to achieve here is to be able to define patterns in Pathauto using tokens generated by Profile2, so that mydomain.com/firstname-lastname redirects to mydomain.com/users/[userid].
Comment #10
fagoI don't see a profile2 issue here. If you want automatic url-aliases on profile2, best post a feature-request to pathauto or make use of the url-alias rules action.
Comment #11
grasmash commentedYou might want to look into the Menu Token module:
http://drupal.org/project/menu_token
Comment #12
Ale.bcn commentedhi ppl,
I'm using "Pathauto integration for all Entity Types" from Damien Tournoud which it seems to work as expected. Check it out:
http://drupal.org/node/1330546#comment-5203836
Cheers,
Comment #13
blogers commentedSolution please anything ??¿???????
I find the solution for real names for profile 2 on drupal 7 thanks
here the module https://www.drupal.org/project/pathauto_entity
Comment #14
sandip choudhury commentedYes Pathauto entity works. Thank you.