0

I am looking for a way to show a referenced node into the primary tabs menu.

I created a content type "fact box" that is referenced to an article. Now i like to have the content type title of the fact box node in the primary tabs menu.

I tested the Quicktabs Module and References Tabs, but they don`t use the primary tabs menu.

What`s the right way to reference a node into the primary tabs menu?

1
  • So do you want to display title of referenced "factbox" node on "article" node view ? Sep 27, 2012 at 9:35

1 Answer 1

0

Is this for Drupal 7?

If so you can create a custom module using hook_menu_local_tasks_alter, maybe in the hook get the arg for the nid for the current page. Then do a node load on the current pages nid to check a reference is set, then from this reference field which will contain the nid... do another node load to get its title. Finally the title local menu tab.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.