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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | nodesymlinks_panels.patch | 909 bytes | screenage |
Comments
Comment #1
jon nunan commentedOK 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
with
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.
Comment #2
wojtha commentedThanks for report, I will see what I can do with it.
Comment #3
lukio commentedI have the same issue, and the tip of meatsack works for me.
thanks!
Comment #4
screenage commentedI have put this solution in a patch.
Comment #5
wojtha commentedThanks, fixed in 6.x-1.0-beta6.