Posted by terry22 on August 30, 2009 at 3:49pm
Jump to:
| Project: | Node Relativity |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
Is there a way to hide the child nodes in the teaser view of a parent node?
thank you for your help
Comments
#1
#2
Yes it is. Its just a thing of your theming. You have to create a .tpl.php for your parent-nodetype, where you
<?phpprint $node->content['relativity_children']['#value']
?>
<?phpif $page:
?>
<?phpendif;
?>
#3
Hi, 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