Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By anubhav on
Could some provide me the information/code snippet/example of how to create the page like in the following URL
http://www.buyblue.org/node/721.
The URL has various subtabs 1)summary2)information 3)Financials 4)Ratings
and when click on "Summary" its displaying content base on the parent node in this case "Summary of Costco"
Do I need to hack Node module to achieve the functionality or need to create a new module?
Could someone please point me the module\logic if something to do like this is already out there.
Comments
Menu
No hack at all. I used the menu system (specifically hook_menu) to inject menu items into the node tabs.
Details, man, details.
I looked at it, and even with your explanation, still not sure how to do that.
Can you provide a how-to?
Menu items into the Node
Matt,
Thanks for taking time and providing info.
Created new node type and added logic to append after nid "view/summary" for summary and "view\ratings" for ratings and so on .. Am I right?
Is the logic something similar what's in "contact.module".
Thanks again for all your help
See the high level
See the high level explanation here: http://drupal.org/node/31695