4 replies [Last post]
magpie's picture
Offline
Joined: 09/28/2009
Juice: 18
Was this information Helpful?

I am using Pathauto and found the means to change the VIEW tab in the user profile from;

mysite.com/user/1

mysite.com/joe-blow

Now, I want to change all the user/* pages to /username/*

This would mean /user/6/orders
becomes: /joe-blow/orders

The USER TAB LINKS are what needs to be altered to include a variable.
I looked at the 'me' module, path alias and others but I am stuck
figuring out how to include a wildcard or a variable.

On a reated issue, I also would like to add a menu item to: /[user-raw]
but all I can do is make a menu link to: /user (can a menu link contain a variable?)

Pathauto can not (as far as I can tell) replace '/user' with '/[user-raw]'

Please help!

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4111
Re: changing user tab links pathauto alias

Since this is a Drupal issue, not an Ubercart one, you're probably better off posting on the drupal.org forum. AFAIK Pathauto is the best way to do this, with the "user alias" settings, and then click on the "Bulk generate" checkbox and click save. But if that doesn't work, I'm not sure what else you could do.

--
Help directly fund development: Donate via PayPal!

magpie's picture
Offline
Joined: 09/28/2009
Juice: 18
Re: Re: changing user tab links pathauto alias

hmm... this is a Marketplace seller tabs issue which I was assuming is Ubercart related?
But I will post over at drupal. Cheers.

FYI, bulk generate only works for links which are defined. Marketplace links
do not show up in pathauto.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4111
Re: Re: Re: changing user tab links pathauto alias

Well, the path /user/* is a core path, that's not provided by any contrib module. You could probably override it with the path aliases generated by pathauto, but I'm not sure how successful you'll be. Generally it's bad to override system paths, and pathauto actually said as much (at least in D5) when you go to the configuration area.

--
Help directly fund development: Donate via PayPal!

magpie's picture
Offline
Joined: 09/28/2009
Juice: 18
Found