Posted by andibonn on October 31, 2010 at 10:26pm
Teaser-Issues have been discussed quite often in this forum ([http://groups.drupal.org/node/95109]). But I still don’t know how to activate the teaser-field for articles in OP 2.3. In the standard OP configuration the teaser is only set for the frontpage. But I would like to display the teaser in the article too.
For this purpose I think I will have to change the following lines in the node-article.tpl.php:
<?php
print $body;
?>Having the teaser-text in the articles would be great, especially for printing.
Comments
The teaser set in the
The teaser set in the frontpage is only for views.
What you can do is add
<?phpprint $teaser
?>
-Ronald
Unfortunately doesn't work at
Unfortunately doesn't work at all...
that's probably because it
that's probably because it isn't referenced in the template helper.
What you can do is take the output from the view and match it to the theme helper and build the query and then display.
Is there a reason that you
Is there a reason that you don't want to duplicate the teaser text into the body text? There could potentially be times when I want the teaser text to be different from whatever is at the top of the article on its own page. The current implementation allows this. What you're proposing does not.
I don't explode the teaser in
I don't explode the teaser in the body.
The teaser is what it says a short outlined version of the entire story.
Teasers attract people in reading the full article which is what you want.