How do I display a node so it displays the "MENU_LOCAL_TASKS" tabs at the top?

adf1969 - September 23, 2009 - 18:26
Project:Custom Page
Version:6.x-1.12
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Using
print custompage_node_tile( $key, $type = '' );
I can display a "view" form of a node great.
What I would like to know is how I can do the following:
1) Display the "node" but also have it display the "menu_local_tasks" in tabs over the node (these are normally displayed in the "tabs-primary" region)
From what I can tell, those are normally generated from the node/%/view and node/%/edit menu entries.
Of course, my entry doesn't have any "sub menus" below it, so I don't get those...I'm curious if there is a way to cause those to be displayed anyway (I suppose I could hard code it, just trying not to re-invent the wheel if there is another alternative).

2) Display the "node" in edit mode.

Thanks so much. This module is great.

Andrew.

#1

irakli - September 23, 2009 - 19:09

Thank you. Very interesting suggestions.

 
 

Drupal is a registered trademark of Dries Buytaert.