DrupalDork.com was shut down on September 18, 2013. This is just a snapshot of the site as it appeared then.

Module Release Announcement: Node Subpages 6.x-1.0-beta1

Version: 
6.x-1.0-beta1

I've been meaning to clean up and release this module for a long time.

I built Node Subpages for Drug Policy Alliance, to display subpages on nodes. They have a few node types that have a common set of subpages. For example, State nodes have subpages like Contact, Laws, Campaigns, etc (example: New York). Issue nodes have subpages like Our Priorities, Resources, and Activist Toolkit (example: Medical Marijuana).

It would become cumbersome to create a separate Page node for each of those subpages for each node of these given types—that is, every time a State node is created, the admin would also need to create additional nodes for Contact, Laws, Campaigns, and so on. Instead, I wrote this module to display a View or CCK field from the node in a separate page. This allows content admins to manage all the details about a State or Issue from that one node.

For this public release, I needed to build a management interface. The version built for DPA had the subpages for each content type hard-coded into the module. This version adds a Subpages tab to the content types, and allows admins to add new subpages and specify what CCK field or View should be used as the content of each. This is why the module is being released in beta: this management interface is all brand new and has only been tested by me. The display functionality, on the other hand, has been in production on DPA for some time, and has been tested pretty heavily.

I've got some more cleanup to do and documentation to write, but that will come later. For now, I'm just happy to finally have it in releasable state.