This is a bit of a nuanced question, but it may have a simple answer, so I thought I'd ask. Any tips would be appreciated!
I've created a dynamic menu item for path 'my-company' which uses node_view() to display a dynamically selected node.
Normally this would be good enough, but I'm currently using Panels to override the default 'Node Template.' Unfortunately, calling node_load() directly bypasses Panels and does not use the overridden Node Template.
Is there a different function to call that will not bypass Panels? I cannot use drupal_goto, since that will change the URL and display the incorrect active trail.
Thanks!
Comments
Comment #1
Letharion commentedUnfortunately I don't know, though I think it would involve calls to panels_render or some such. This should be added to the docs though, so I'm marking it as such.
Comment #2
japerryI'd look at using page manager.