Context problem with "Panels 3"

Status: 
Solved
Question: 

Hello!

First of all, Dorien's book is awsome!
Secondly, I have a problem :)
I'm following all the steps to make a user's profile but I'm stuck at the point where I need to add an argument under "Contexts" in "Panels 3", so the user profile's node could be displayed.

I will explain what I have done with "Panels 3": 1) I configured existing "Node view" system page by adding a new "Panel" task handler. 2) Under newly added task handler I added "Node: Type" criteria and then I selected Node type as "Profile". 3) ... what should I do next if under "Contexts" isn't any "Node ID" argument which I could add (as it was in the book with "Panels 2")? I tried to add "Node" argument but I stucked when I needed to enter the title or NID of the post. Ok, if I enter NID, for example "9", then my profile's page is displaying but what should I enter for all profiles with different NIDs?

I hope you understood what I tried to say.
Sorry if similar problem is posted somewhere before but I was searching and couldn't find solution.

Responses

1. Now it's working! I found a

Now it's working! I found a solution by myself :)

I just needed to add a relationship called "Node author". Then under "Panel content" on the right block I added "User->User profile". I did like this before but problem is that if I press "Preview", then nothing displays but on the main page everything works.

2. Thank you for sharing!

Thank you for sharing!

3. Worked for me to

BetaFlasher, I did what you did and its working for me to although the resulting looks are slightly different from working with panels2. ( did both now)

To anyone trying to get panels3 to work, watch the "update and return" button. To activate the panel in the new config you still need to click "save" at the page you end up after clicking "update and return. I just could not get used to that.

You also get a "edit template" tab on the profile page so you can qicly change things. This also appears on the My Account page, with a pre-configured content that generated a lot of errors because of missing content. After you just deleted that content its actually nice to have.

I like panels3 better then 2 but the workings of the flexible layout still eludes me :(

4. Please, how to step by step.

Betaflasher or Wired could you describe the procedure step by step
how to does it works??

How to add the relalationship?
for the section rules you can only choose:
Node: access status
Node: language
Node: type
User: permission string
User: role but no relationship

many thanks.

5. fatagon, here are some steps

fatagon, here are some steps how to make Node working with panels 3:
1) On "admin/build/pages" click on "Node view" operations then choose the only option "Task handler".
2) Now you need to add a new handler. So, at the bottom of page you see a drop down menu where is written "Choose" - Click on this drop down menu and choose "Panel". After you have chosen "Panel", click on "Add new handler".
3) You will see a new drop down menu where is written "Node: Access status" - Click on this drop down menu and select "Node: Type". Then click on "Add" button. Popup will show and here you need to select "Node type" - Check "Profile" and press "Save".
4) Popup will close and you will be back at previous page. Leave "All criteria must pass." box and press "continue".
5) Select "Two column stacked" or what kind of layout you like and press "Continue".
6) You will see your chosen layout's content. Leave it for now and just press "Finish".
7) Now you are at the main page of task handlers. First of all, click "Save". Then click on your task handler's operations and choose "Contexts".
8) At the right side you will see "Contexts" and "Relationships". Leave "Contexts" as it is but under "Relationships" you will see another drop down menu where is written "Book parent" - Click on this drop down menu and select Node author. Then press "Add relationship".
9) Another popup will appear but leave everything as it is and just press "Save".
10) Now click "Update and return" (this is very important!), you will be back to the main page of your task handlers. Now press "Save" again.
11) Click on your task handler's operations and choose "Panel content". Now you will be at the panel content's page where we were some steps ago.
12) At "Panel content" you will see blocks with "+" signs at the corner of every block. Press on one of these "+" signs (you can choose which block you like the most). When you have pressed on the "+" sign, then choose "Add content".
13) Another popup will appear and at the left side will be some links. Click on the link "User". After you have clicked on "User", you will see link "User profile". Click on this link. Another popup will appear where you have to check the only option possible: "Override title". Don't write anything for the title but just click "Finish".
14) Now press "Update and return" and at the main page of your handlers click "Save".
15) Go to your main page or whatever page and check if everything's working well.
16) Guess what - you're done!

6. BetaFlasher, followed your steps...

BetaFlasher,

First of all, thanks for the contribution. I followed your steps verbatim, but I think I must be missing something somewhere. After setting up the panel content per your instructions (step 13), nothing changed on my profile page. I made sure to click on the Update and Return and then the Save on the task handler page. I placed the user profile in the right pane, but when looking at it on the My Account page it remained inline on the left. What am I missing?

Any help for this newbie is appreciated.

7. ronrode, try to click on the

ronrode, try to click on the Home (not My Account) and then click on the title of your profile page.

8. That works, thank you

BetaFlasher,
That works. Thank you so much. I guess I should have realized that from the beginning. I am still trying to wrap my brain around Drupal after having worked with Joomla for more than a year. There are a lot of differences, but I'm really liking Drupal more and more.

Again thank you very much for your contribution, and for pointing this newbie in the right direction.

9. Glad to help!

Glad to help!

10. Thanks BetaFlasher!

I have been stuck on this for days. Thank you so much for your help!

It is unfortunate that they have changed things so much in Panels 3 rc1... I think that chapter of the book will need a rewrite!

11. Wrong approach.Issue is not solved.

Well BetaFlaher did work out a way out of this problem but as end result he didnt really seem to have created a Profile Panle but rather Profile as just a block of Node template. That is not the idea here. Doreen's approach is different and realistic - to create a proper context and then add various contents in this Panel, according to user's needs and tastes. There should be some more clear approach to work with Panel 3.