I've got a CCK content type which can refer to itself to note a "parent". In a view, I want to group by the parent. I'm not going all out in displaying a tree hierarchy, though I suppose that would be fine if that were supported by some module. The problem I am having is that when I employ a relationship to show the title and group, it is somehow racing to the top of the "tree" and grouping by the "root" parent. Is it possible limit to the immediate parent?<br>
<br>I've seen a couple of relationship modules, trees modules, but is there anything that really seems to address doing what I've got in the data structure I've established? <br><br>For example:<br><br>Data is:<br>
"Title" -> "Parent", "Body"<br>1. North America -> (no parent) - This is a continent.<br>2. United States -> North America - This is a country in North America<br>3. Michigan -> United States - This is state in the US.<br>
4. Washington -> United States - This is different state in the US.<br>5. Dearborn -> Michigan - this is a city in the US.<br>6. Lansing -> Michigan - this is another city in the US.<br>7. Kalamazoo -> Michigan - this is yet another city in the US.<br>
<br>My view grouped by the "Parent" (with a relationship), and what I get is:<br>------<br><b>Group Name: <i>(empty)</i></b><br>North America - This is a continent<br><br><b>Group Name: North America<br></b>United States - This is a country in North America<br>
Michigan - This is state in the US.<br>
Washington - This is different state in the US.<br>
Dearborn - this is a city in the US.<br>
Lansing - this is another city in the US.<br>
Kalamazoo - this is yet another city in the US.<br>-----<br><br><br><br><i><b>What I'm hoping for is:</b></i><br>---<br><b>Group Name: <i>(empty)</i></b><br>
North America - This is a continent<br>
<br>
<b>Group Name: North America</b><br> United States - This is a country in North America<br><br><b>Group Name: United States</b><br>
Michigan - This is state in the US.<br>
Washington - This is different state in the US.<br><br><b>Group Name: Michigan</b><br>
Dearborn - this is a city in the US.<br>
Lansing - this is another city in the US.<br>
Kalamazoo - this is yet another city in the US.<br>
<br><br clear="all">-- cgp<br><br>