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

cdale’s picture

I'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?

cdale’s picture

Can you explain what you're trying to achieve exactly?

cdale’s picture

Ok. 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.

cdale’s picture

Alright, 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?

frankcarey’s picture

FYI: 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

cdale’s picture

What version of panels?

cdale’s picture

And also, what version of me? As I'm sure I addressed that issue #368252: Error warning

frankcarey’s picture

ok, 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?

frankcarey’s picture

drush 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

frankcarey’s picture

//line 21
 $panels_items['menu items'][$path] = array_merge($callbacks[$metadata->native_path], $panels_items['menu items'][$raw_path]);

yeah
Panels is DRUPAL-6--2-0-ALPHA3

cdale’s picture

Can 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....

frankcarey’s picture

10, 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

frankcarey’s picture

update: 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

cdale’s picture

Glad 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...

cdale’s picture

Status: Active » Closed (fixed)
gregoiresan’s picture

Where do we change this module's weight ???