Hi,

I've used panels 2, along with views to create a custom user profile page.

I have used the User ID panel argument under the context tab to filter profile and user content by uid in my different panes.

*Problem*: Since I'm using the panel User ID argument, all my views arguments need to be set to: 'User: UID is Author' *not* 'User: Username is Author'.

This results in the uid being in the URL for all the page views,

test.com/user/12/blogposts instead of what i want: test.com/user/fred/blogposts

I would like the username in the url, I'd also like to be able to use the username argument in the views, so i can use dynamic titles that have the username, not uid.

I've looked at the issue queue and also some panels 2 context screencasts, but I haven't found any info to address this problem.

Could anyone offer a best approach of how to accomplish this and any links to documentation would be much appreciated.

Thanks

Comments

daphisto’s picture

I would like to see this functionality as well.

sun’s picture

Title: Passing uid as panel argument, but want username in urls » Passing username instead of uid as panel argument
Version: 5.x-2.0-rc1a » 5.x-2.x-dev
Category: support » feature
Priority: Critical » Normal

Sounds like a nice optional configuration option for the User UID argument.

sdboyer’s picture

Assigned: Unassigned » sdboyer

There's no reason that this needs to be very complicated at all; just a simple added configuration option on the context config modal, and then a small change to the context-build-time logic. I'll try to remember to write this up once I get back to Panels.

ccdoss’s picture

Any progress on this? I'd like this too.

aterchin’s picture

+1

socialnicheguru’s picture

+1

thomasmuirhead’s picture

This would be a really powerful option for my site. If there's anything I can do to help make it happen just let me know

kfyn’s picture

+1

jweberg’s picture

Can you use pathauto or alias to accomplish this?

jweberg’s picture

Nope, nevermind. I am looking for this on 6.x.

sdboyer’s picture

Status: Active » Closed (duplicate)

We've now actually got a CTools issue open for this, so closing this one out.