Hi,
Is there a way to embed the nodehierarchy_children_list view in parent nodes by default?

Obviously I'd prefer if this were available somewhere in the admin interface.

But if that isn't possible - or is a long way off - is there a workaround I could use?

Thanks in advance!
Scott

Comments

scottrigby’s picture

any thoughts about this yet? It would be a great feature!
Thanks

ronan’s picture

I'll mark this as a feature request.

The way I accomplish this is in my theme for a given node type. Just add the code:

$view = views_load_view( 'nodehierarchy_children_list' );
echo views_build_view( 'embed', $view, array( $nid ), true, $view->nodes_per_page );

right in your tpl file.

I realize that not everybody is comfortable with this much php, so I'll try and add this feature when I get a chance.

Ronan

ronan’s picture

Category: support » feature
Priority: Critical » Normal

changing to feature request

dgorton’s picture

Status: Active » Closed (fixed)

This is actually built into admin in 6.x-2.x - Closing as 5 is feature-complete at this point in time.