By calebm12 on
I cant figure out what is going on here. For all of my node teasers the title is displayed along with a body teaser, but no author name is displayed...unless you view the full node.
However i have one page that displays node teasers and it does show the author name and posting date. I want all my teasers to show this. Have i deleted something i shouldnt??
the view that shows the author name in teaser is using formblock...thats the only difference i can find.
would appreciate any help or suggestions
Comments
No. !$teaser means NOT
No. !$teaser means NOT teaser, so our node tpl.php would show it if its not showing the teaser.
What do you mean "However i have one page that displays node teasers" What is this page? It is a Views module page display or what? You're not giving much info here.
If what you want it to have a page that displays node teasers, and format the information to just what you like, you can use the Views 2 module, or edit your node.tpl.php to do what you like.
Sorry. Let me try again. I
Sorry. Let me try again.
I have multiple views. All of these views are set to display with a row style of node. When i look at the view you see the title and the body teaser as well as links. There is no author information (such as who made the node and at what time). If you click on the title you see the full node and you then see the author information. All of my views are set like this. However one of them will display the author information for the node listings. The only difference i can find is that this view also utilizes formblock module. What i am looking to do is display the author information in the node preview display. I am not sure what to edit to show this.
maybe i am wrong but should
maybe i am wrong but should the following in node.tpl.php
be
i see thats wrong. here is
i see thats wrong. here is my whole code