0

I'm using Panel Nodes* to let users create content with varying layouts. I'm wanting to display another node in one of the panels.

When I create the Panel Node and go to create a new Content pane, I click Entity then Rendered Node. However, the Entity dropdown only lists "This node". If I click Node instead and then try to insert a Node Content panel content type, the Node dropdown is still "This node". What am I missing?

I've tried using EntityReference to associate a Panels node with the other content type, but it doesn't increase the options available to me.

Any idea how I'd render a node from another content type in a Panel Nodes Panel?

Thanks!

*Yes, I know I should use Panelizer, but I'm wanting to know if there's a way to do this without converting everything I've done thus far to that.

4

When you add an Object to your Panel Pane, you will find in the left column the option to add an "Existing node", choosing this, you can add a node id of the content you want to add.

If you want to dynamically provide different nodes provided by the user input on the node form using a node reference field, you need to add a context to the panel by using this reference field and then the referenced node will also be available.

  • Oh. Wow. I totally just thought that was like a "legend" or something. TODAY'S AWARD FOR TOTALLY MISSING THE OBVIOUS GOES TO...! Thanks a whole lot, that's really helpful! – aendrew Aug 13 '12 at 15:55

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.