How can I split the teaser from the rest of the content in the node.tpl.php to wrap the teaser text in special markup?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could preprocess the theme variables to retrieve the teaser and store it separately, otherwise Drupal handles it internally and won’t give you a choice.
Here is the code: http://www.mydiary.digiprosoft.com/?p=244 and below are the highlights from that link.
In template.php
In node.tpl.php