Closed (fixed)
Project:
me aliases
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2009 at 19:11 UTC
Updated:
5 Nov 2010 at 10:54 UTC
I am getting this work fine with views, but I can't seem to get it to work when I put that view in a panel page. I have "Redirect to uid" on and the rest off. Any suggestions?
Cheers,
Kurt
Comments
Comment #1
cdale commentedI'll have to look into this, as I have no experience with panels at all, so I don't even know how it's supposed to work. Can you offer any pointers on how you might have set up your view and your panels that might help me help you?
Comment #2
cdale commentedCan you explain what you're trying to achieve exactly?
Comment #3
cdale commentedOk. I think I've just got into the same situation that you have, I'll look into it more. I might need to write some specific panels integration stuff. Stay tuned.
Comment #4
cdale commentedAlright, so I think for this to work, you need to make sure two things are done.
1. Make sure that on the user:uid or user:name argument option you are using, make sure that "Let users enter the 'me' alias instead of their user name." is checked, if you're wanting the uid redirection, then you'll probably also want to select "Redirect to the users name when 'me' is entered as an argument." (Only available in me > 2.2 or 1.6).
2. In the panel page content settings, select the settings for the view, and make sure that you put %N in the "Arguments:" field for the panel. Where N is the position of the user argument above in the menu path. i.e. for testing/UID, you'd put %1, as it is in position 1. testing/path/UID, you would put %2. etc...
Does doing this help solve your issue?
Comment #5
frankcarey commentedFYI: I'm getting this error right after installation.
Argument #1 is not an array in /sites/all/modules/panels/panels_page/panels_page.menu.inc on line 216.
will try to set it up and see what happens
Comment #6
cdale commentedWhat version of panels?
Comment #7
cdale commentedAnd also, what version of me? As I'm sure I addressed that issue #368252: Error warning
Comment #8
frankcarey commentedok, tried to change settings, still getting error. it only went away when after i unenabled the module, and then only after i clear the cache.
I also could not get to my /user page (access denied and I'm user/1 ? and user/me gave me a page not found.
Any ideas?
Comment #9
frankcarey commenteddrush installed 6.1.8 (wtf?) so i deleted it, and installed 6.2.4 from cvs, and ran updat.php and cleared the menu cache. I think i'm using 6.2.alpha3 for views, but i'll have to confirm
Comment #10
frankcarey commentedyeah
Panels is DRUPAL-6--2-0-ALPHA3
Comment #11
cdale commentedCan you check the weight of the panels, panels_pages, and me modules in the system database table? It is important that me is heavier than both of those modules. By default it should be, but maybe for some other reason it is not.
If not, can you perhaps explain how your panel pages are setup? It might help give me some clues. Also, the latest panels release does not even have that file in it... so maybe they are changing how they do this anyway....
Comment #12
frankcarey commented10, 15 for panels and panel pages respectively, 0 for me. I changed 'me' to 20 and still have both issues. Note: I also have APK and content profile installed. I can get to /user/me/edit , and to user/me/profile/profile (the edit form for the profile content type, but no luck getting to /user or /user/me
/user give me a access denied (I'm user 1 with fill privileges)
/user/me gives me a page not found error
Comment #13
frankcarey commentedupdate: it looks like my "20" didn't take in navicat, but once it did and i cleared the cache, it looks like we are in business :) thanks for your help. I guess the old version of the module didn't have the right weight, and the new one didn't reset it?
Cheers
Comment #14
cdale commentedGlad you got it working. It is odd though, as I'm sure there is a hook_updade_N() function which is supposed to update the module to a weight of 999. So I have no idea. Is the hook_update_N() function in the .install file for the version you downloaded? Maybe it didn't get run...
Comment #15
cdale commentedComment #16
gregoiresan commentedWhere do we change this module's weight ???