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.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | me-5-views.patch | 3.31 KB | cdale |
Comments
Comment #1
ahoeben commentedIt 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.
Comment #2
elvis2 commentedI 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.
Comment #3
alanvee commentedPLEASE 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.
Comment #4
ahoeben commentedThanks 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
Comment #5
funana commentedHi,
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.
Comment #6
funana commentedComment #7
David Lesieur commented@funana: You might want to try with a weight greater than views', not smaller.
Comment #8
daphisto commentedI tried a weight of 10 for 'me' alias module and still no luck. Then, tried 11 and still nothing.
Comment #9
bmp500 commentedI 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
Comment #10
ahoeben commentedWhat version of Drupal are you using? I am using me and views with Drupal 5.x, and it works for me.
Comment #11
bmp500 commentedI'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
Comment #12
cdale commentedI 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.
Comment #13
cdale commentedThis took me a little bit longer than expected to get around too, but I've finally committed a fix for this. Patch attached.