By stevemagruder on
Since a description is already entered for each content type, is there a module or theme approach for displaying this description beneath the title for a content type?
Also, is there a module for associating a logo image with a content type that can then be displayed near the title and description for a content type?
In the case of both the description and logo image, these would display for all users of the site.
Comments
Any ideas?
Any help out there?
Steve Magruder - http://www.webcommons.biz
I don't know of any module
I don't know of any module that would do what you ask, and I've looked.
But you could do it yourself using phptemplate.
Take a look at node.tpl.php in your currently-used theme. It defines, using php, how your node should look when rendered.
Assuming you're using a custom content type called blogpost, for example, you can simply make a copy of node.tpl.php and call it node-blogpost.tpl.php and phptemplate will automatically use that file instead of node.tpl.php. Simply embed any static info you want displayed with that content type in this new file, such as <img src="imageofblogpost.gif"> and whatnot.
At least that's how I'd do it...
Let me try again...
The problem is not with the display of an individual node.
Currently, at the top of a list of nodes, it displays the title associated with the content type.
Also, at the top of this list of nodes, I would like to display the description associated with the content type, as well as a logo image.
I'm not sure if we are close to understanding or not, so I offer the above as a clarification.
Thanks!
Steve Magruder - http://www.webcommons.biz
This topic is a bit old, but
This topic is a bit old, but since I'm looking for the same funcitonnality, I was wondering if you had found a solution?
If not, I guess I'll have to write a module to do it...
Drupal rocks!
www.tahiticlic.com
I'm too trying to achieve
I'm too trying to achieve this result. Anyone so far has managed to do it?