Node.tpl.php

Steel Rat - November 12, 2008 - 01:25
Project:FriendsForever
Version:6.x-2.4
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

This themes doesn't come with a node.tpl.php, so I copied one from an out of the box theme and placed it in. I wanted to get rid of the node title, but no edits to the node.tpl seem to make any difference.

What am I missing?

Thanks

#1

skiquel - November 13, 2008 - 22:15

Hello.

Are you trying to remove page title, or in a view of nodes?

Removing page title

In page.tpl.php, remove the $title code.

Removing title from a view of nodes

(like the /node view page)

In node.tpl.php, remove the $title code.

Does this cover what you're trying to do? If not, can you be more specific?

Tony

#2

Steel Rat - November 22, 2008 - 16:44

Thanks for the reply. I'm trying to do both. I don't want node titles to display at all, either when viewing a page of nodes, or an individual node. I've done this many times with other themes, but this one doesn't seem to be accepting the changes to the node.tpl.php I added to it.

 
 

Drupal is a registered trademark of Dries Buytaert.