Active
Project:
Node Relativity
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2009 at 15:49 UTC
Updated:
12 Aug 2010 at 23:18 UTC
Hi,
Is there a way to hide the child nodes in the teaser view of a parent node?
thank you for your help
Comments
Comment #1
terry22 commentedComment #2
chaosprinz commentedYes it is. Its just a thing of your theming. You have to create a .tpl.php for your parent-nodetype, where you
print $node->content['relativity_children']['#value']to give out your childrennodes, and wrap this print with aif $page:endif;Comment #3
dunklea commentedHi, I am having the same problem, but don't quite understand this solution.
I have everything working just right, except for the child node content appearing in the parent view teaser. I don't have a strong PHP background, so please assume I know nothing in your explanation.
Thanks a bunch in advance!
Andrew