I have a custom content type where the layout is handled by panels. The original node displays fine using the panels layout, the symlinked nodes just show as the basic node view.

From a quick look, panels uses ctools page manager to override the default menu callback when required, so its not acting on the node_view function call used by node symlinks. I'll do some more looking around to see what can be done.

CommentFileSizeAuthor
#4 nodesymlinks_panels.patch909 bytesscreenage

Comments

jon nunan’s picture

OK got it working for me, but I'm not going to post a patch as I've got no error checking on my fix yet. For anyone who stumbles across this though and needs the functionality:

In the nodesymlinks.module file, in the node_symlinks_page function , replace

$output .= node_view($node,FALSE,TRUE,FALSE);

with

  include_once(drupal_get_path('module', 'page_manager') . '/plugins/tasks/node_view.inc');
  $output .= page_manager_node_view($node);

Note that if you aren't overwriting every node with panels node_view you will probably want to have a check before using this code or the old code.

wojtha’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0-beta2
Assigned: Unassigned » wojtha

Thanks for report, I will see what I can do with it.

lukio’s picture

I have the same issue, and the tip of meatsack works for me.

thanks!

screenage’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Assigned: wojtha » Unassigned
Status: Active » Needs review
StatusFileSize
new909 bytes

I have put this solution in a patch.

wojtha’s picture

Status: Needs review » Closed (fixed)

Thanks, fixed in 6.x-1.0-beta6.