Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#2 | profile2_page_pathauto.zip | 1.58 KB | smassally |
Comments
Comment #1
bendruapal CreditAttribution: bendruapal commentedRealname module works.. in regard to fields and so forth.. very useful if you wanna show the name and not the username.
Comment #2
smassally CreditAttribution: smassally commentedI 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.
Comment #3
klausiProfile2 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.