I had a question about the argument for users/%. Sometimes it's the first and last name of the user (e.g. users/johnsmith) and for some users it's the uid (e.g. users/234).

I was wondering how it's determined which one is used for which user. Or is this something related to the profile module? I'm mainly asking because I want to create a link to users' profile using views, but I'm not quite sure how to determine which argument to use in a custom link output.

Comments

michelle’s picture

Status: Active » Fixed

The argument for the handler in APK is the UID, because it takes over the user/UID path. You can alias it to users/johnsmith but that's just an alias, not the internal path which has the argument. You can link to it using either.

Michelle

BetaTheta’s picture

thanks for the quick reply, Michelle. Appreciate it!!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.