3

I want to make a mini panel loaded with the fields of the "Node being viewed". But I don't know how to make this happen. Any suggestions?

2

This requires that a node context get passed into the mini panel for it to know what node to pull the data from. Unfortunately there is no way to pass this context using blocks.

You can use page manager to create a node view page which has the correct node context and put the mini panel there.

You can create a view that has a default argument set to get the node id from the URL. Then create a pane display on this view. You can add this view to the mini panel and it will get the node info correctly so you can use blocks.

  • Can you make it more clear?Could you write the exact steps on this?This is what I want,but I cannot put it in action.Thanks – sokratis Dec 2 '11 at 17:29
  • @sokratis Which method do you want more info on? The views method is not very flexible if you're using mini panels to create an elaborate layout. – rocketeerbkw Dec 3 '11 at 18:26
  • 2
    I finally solved it using Required context on the mini panel.Thank anyway for your help – sokratis Dec 4 '11 at 11:31
1

I do not think so if mini panel is the right choice for this type of requirement. Have a look on this module CCK Blocks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.