I have been trying to get rid of the user/1 and so forth path and replace it with username.

I have not been able to make auto path module work with eRecruiter. Is this a bug?

Aim: replace the user/1 and other user path with the username
So that for example if I type in the browser the "sitename.com/username" --> I would see their resume OR their profile.

Any opinions? or solutions?

CommentFileSizeAuthor
#2 profile2_page_pathauto.zip1.58 KBsmassally
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bendruapal’s picture

Category: bug » task

Realname module works.. in regard to fields and so forth.. very useful if you wanna show the name and not the username.

smassally’s picture

FileSize
1.58 KB

I created a small but dirty module that will allow pathauto to generate aliases for profile2 profiles. This module's on a development site I'm working on and does what i need to but I should warn you that its still in its very early stages so if you can't fix things that might get broken, don't touch. I'ld clean it up over the weekend and upload it to the repo so you can wait till then.

klausi’s picture

Status: Active » Closed (works as designed)

Profile2 types are just entities, so ideally pathauto should provide a mechanism to alias all kind of entities by default. But this is not a recruiter issue, I opened #1330546: Pathauto should work with all entity types.