Hi!

I've got a simple issue which I just can't seem to get modified.

In child node, the parent node appears in a group box, something similar to:

|--Parent nodes--------- |
| Node type: Node title |
|____________________ |

All I'd need to do is to remove the Node type: from the box so that it'd only display the Node title. Any help is appreciated

kthxbai,
Mikko

Comments

mkoskenk’s picture

Status: Active » Fixed

Ok, found the spot. Comment out line 1446 of the original relativity.module ($output .= node_get_types('name', $parent_node->type) . ': ';) and away the Node type went *swoosh*

mkoskenk’s picture

Status: Fixed » Closed (fixed)
BettyJJ’s picture

I'd like ask how to do this on the other way? That is, while displaying the parent node, it's like this:
|----children nodes---|
|node type: node title |
|node type: node title |
|node type: node title |
|__________________|
How to remove the node type of the children nodes, displaying only the node title?

mkoskenk’s picture

Betty,

Try commenting out line 1483 from relativity.module:

$children_box .= node_get_types('name', $childtype) . ': ';

Haven't tested it, but it looks like it'd do the trick.

Mikko

ranavaibhav’s picture

Thanks mkoskenk,
your trick works perfectly for me.....