Show content of given path in a pane

Events happening in the community are now at Drupal community events on www.drupal.org.
mwallenberg's picture

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

capellic's picture

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"

itangalo's picture

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

mwallenberg's picture

This seems to be it, actually. Thanks!

Ah, I misunderstood your

capellic's picture

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

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: