I have just installed a fresh Drupal 5.6 and Panels 2 beta 2.

I have a custom node type called Destination. My goal is to add some content related to each Destination node as a separate tab in the main Destination node display.

Normally after viewing a node, I would see the two default tabs:
View | Edit.
I just want to add another one, say called "Test Panel", so that when I am looking at a Destination node, I'll have 3 tabs:
View | Edit | Test Panel

This is what I am doing:

- I create a new Panel Page
- Give it a single-column layout for simplicity
- Panel name: test_panel
- Panel Path: node/%/test
- In the Advanced tab I check both "Provide Menu" and "Provide Menu as Tab". Tab Weight = 5
- In the Context tab I add the Node ID argument. A window pops up:
- I give a title: Test Panel
- I check my Destination content type under both "Node types" and "Own display"
- Save
- In the Content tab I select "Node ID 1 Destination" sub-tab and click the (+) sign in my panel. For simplicity I add some hard-coded text.
- I click on "New Custom Content" in the pop-up window
- I give it a title "Test" and some dummy body like "Hello world" and hit Add Pane
- Save and go to Preview
- I give the Node ID a value of 1 (such Destinaiton node exists) and the "Url of real panel" becomes "node/1/test". The "Hello world" panel contents appears below. I click on the newly-generated URL (http://my-site/node/1/test) and see the "Hello world" text and four tabs above:

View | Edit | Test Panel | Settings

... so at this point the new panel is displayed as a tab - just the way I want it. Now I click on the "View"-tab to display the main Destination node (with ID: 1). That happens BUT the new "Test Panel" tab disappears and I see again just the default ones:
View | Edit

So my question is: what am I doing wrong? How can I use Panel 2 to add some content as a separate tab to a node type?

Thanks a lot for your help!

Comments

paolorizzi78’s picture

Hi kirilius,

I'm having exactly the identical problem!!!

I've been trying in many different ways, with the view seems to work something similar, but has a limitations.. the same things done with panels would solve all the problems!

Please let me know it you had a chance to fix it, I will do the same here.

Thank you and good luck!

Following the link to check what I told you concerning the View:

http://drupal.org/node/87195

catch’s picture

Version: 5.x-2.0-beta2 » 5.x-2.x-dev
Category: support » bug

Fixed in 5.x-2.x-dev

catch’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.