[support] Change Node Display

Brian Puccio brian at brianpuccio.net
Mon Dec 17 03:19:03 UTC 2007


On Dec 9, 2007, at 11:09 PM, Tom Holmes Jr. wrote:
> I guess my question (finally) is:
> Are all content type nodes viewed with the same theme or php code,
> because obviously different content types have different fields.
> I would like to change the way content in a node is displayed for
> different content types, is this possible and can you point me to the
> right place?

There's also contemplate: http://drupal.org/project/contemplate

> This module was written to solve a need with the Content  
> Construction Kit (CCK), where it had a tendency toward outputting  
> content in a not-very-pretty way. And as such, it dovetails nicely  
> with CCK, adding a "template" tab to CCK content-type editing pages  
> and pre-populating the templates with CCK's default layout. This  
> makes it easy to rearrange fields, output different fields for  
> teaser and body, remove the field title headers, output fields  
> wrapped for use with tabs.module (part of JSTools), or anything you  
> need.
>
> But Content Template can actually be used on any node type and  
> allows modification of the teaser and body properties before they go  
> out in an RSS feed or are handed off to the theme.


More information about the support mailing list