Sorry if this is by design, but I wanted to mention that when using views where the path is path/me, views does load the page correctly but the 'me' doesn't change to the user id. But, the page loads as it should. The only problem I see is with bots. Just thought I would mention this in case it was not recognized. Thanks for the neat module.

CommentFileSizeAuthor
#13 me-5-views.patch3.31 KBcdale

Comments

ahoeben’s picture

It could be that if views is defining its menu callbacks after 'me' does, it overwrites the 'me' aliases. If this is true, 'me' no longer has control over the aliases. Perhaps this can be solved by changing the weight of the 'me' aliases module in the system table. Can you try and see if that fixes it for you? If so I will write a patch so the module changes its own weight.

elvis2’s picture

I did a work around for the client. If I come across this again I will test the weight to see if that fixes it. Thanks for the explanation.

alanvee’s picture

PLEASE UNSUBSCRIBE ME FROM THIS PROJECT!
I have no idea how I got on it, and have no idea what it is about. But I keep getting email updates to it and would certainly like NOT to get them.

Thanks!

=Alan R.

ahoeben’s picture

Status: Active » Closed (fixed)

Thanks mcneelycorp. Please reopen this issue when you run in to the problem again.

Alan, only you can unsubscribe yourself. I think you can do so here:
http://drupal.org/project/issues/subscribe-mail/me

funana’s picture

Status: Closed (fixed) » Active

Hi,

recently ran into the same problem with views and 'me'. I found views to have a weight of 10, while 'me' has a weight of zero. I changed 'me' weight to -10 without any success.

funana’s picture

Component: User interface » Code
David Lesieur’s picture

@funana: You might want to try with a weight greater than views', not smaller.

daphisto’s picture

I tried a weight of 10 for 'me' alias module and still no luck. Then, tried 11 and still nothing.

bmp500’s picture

I have a similar problem with 'me' not being translated to uid when trying to access ubercart menu items, such as user/me/orders.

I've tried setting the me module weight to 11 (and even to -11) i.e. lower and higher than any other module with no change.

The me->uid translation does work for user/me and user/me/edit

Thanks

ahoeben’s picture

What version of Drupal are you using? I am using me and views with Drupal 5.x, and it works for me.

bmp500’s picture

I'm using the latest update for Drupal 5.x and ubercart. Still have found no way to use the "me" in a link to ubercart specific urls such as user/me/files

cdale’s picture

I have been able to confirm this issue. I am working on a fix. Might take a few days. Will update here once I make a commit.

cdale’s picture

Status: Active » Fixed
StatusFileSize
new3.31 KB

This took me a little bit longer than expected to get around too, but I've finally committed a fix for this. Patch attached.

Status: Fixed » Closed (fixed)

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