User paths patch for the pathauto.module

lomoboy - September 30, 2006 - 10:17

I have made a patch for 4.7.0 (pathauto_user.inc,v 1.12.2.1 2006/08/30 20:29:16) which allows to automatically create, update and delete aliases for the user settings pages, user contact and tracker pages if these modules are turned on. These patch delete tracker form from pathauto settings because tracker, contact and edit aliases will be created automatically from pattern of user path settings.

For example:

We have pattern for user account page paths:
user/[user]

When the new user will be created or pattern will be updated these four aliases will be created automaticaly:
user[uid] -> user/[user]
user[uid]/edit -> user/[user]/edit
user[uid]/contact -> user/[user]/contact
user[uid]/track -> user/[user]/track

Check this:
http://drupal.org/node/73017#comment-141556

 
 

Drupal is a registered trademark of Dries Buytaert.