Profile Custom Fields and Pathauto

drupalthing - June 10, 2009 - 12:18
Project:Pathauto
Version:7.x-1.x-dev
Component:Tokens
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Is there a chance to have URL aliases for custom fields in the Profile Module?

I have defined "Interest" as a custom field. Now I want to change the normal path:

- http://mydomain.com/profile/profile_interest/drupal

into:

- http://mydomain.com/people/interest/drupal

I had a look at the code of pathauto. pathauto_user.inc works for Users. There could be a pathauto_profile.inc for Profiles. But I'm not quite shure how to do it.

There's a discussion in this list below for hook_pathauto. Yet it applies to Drupal 4.7

Anyone an idea?

Thanks
Stefan from Frankfurt; Germany

#1

marvil07 - December 18, 2009 - 06:58

subscribing

#2

bcswebstudio - February 11, 2010 - 02:57

Stefan- Can you make use of static system path aliases? Something like:

people => profile
people/interest => profile/profile_interest
..etc..

#3

Dave Reid - February 18, 2010 - 02:43
Version:6.x-1.1» 7.x-1.x-dev

Feature requests are bumped to 7.x-1.x/6.x-2.x now. 6.x-1.x is feature frozen.

#4

Dave Reid - March 3, 2010 - 06:05
Component:Code» Tokens
Status:active» duplicate

Duplicate of #125640: Profile tokens which is a token.module issue.

 
 

Drupal is a registered trademark of Dries Buytaert.