Closed (fixed)
Project:
Node Relativity
Version:
5.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2008 at 10:30 UTC
Updated:
17 Jul 2008 at 01:41 UTC
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
Comment #1
mkoskenk commentedOk, 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*
Comment #2
mkoskenk commentedComment #3
BettyJJ commentedI'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?
Comment #4
mkoskenk commentedBetty,
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
Comment #5
ranavaibhavThanks mkoskenk,
your trick works perfectly for me.....