Posted by mwallenberg on February 15, 2012 at 11:09am
I'm wondering if it is possible to show the contents from another drupal path in a pane. Example:
On a panel page (with path 'my-panel-page'), display two columns. The left column displays a view pane, and the right column displays the contents of the path 'somepath/some-content'.
It has to be the contents from an arbitrary path, not just a node or a view. Is there any good solution for this?
Comments
This might not be the best
This might not be the best approach, but you could add "custom content" to the pane, define it as PHP, do a path/alias lookup to find out what is. If a node, then do the node_load, etc. If a view, do a views_embed_view
http://ericlondon.com/category/tags/views-build-view
http://drupalcontrib.org/api/drupal/contributions--views--views.module/f...
"Page manager existing pages"
What you're looking for is this module: http://drupal.org/project/pm_existing_pages
It is very new, so it probably isn't 100% stable yet, but it is really cool. Here's a video showing how it can be used: http://www.youtube.com/watch?v=W-4g01WjwI4
Good luck!
//Johan Falk, Sweden
Right
This seems to be it, actually. Thanks!
Ah, I misunderstood your
Ah, I misunderstood your question. Yes, this module looks very interesting. I've seen it before, but haven't used it yet. There's also "Panels Everywhere" to consider.
http://drupal.org/project/panels_everywhere
Here's a bit of discussion on the differences between the two:
http://drupal.org/node/1395316