Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The default teaser template lacks teaser-text. In the following example you'll see the default template for a content type which has only one field called "bild-field". The template shows this field, but the teaser-text isn't there.
<div class="field field-type-image field-field-bild">
<h3 class="field-label">Bild</h3>
<div class="field-items">
<div class="field-item"><?php print $node->field_bild[0]['view'] ?></div>
</div>
</div>
Same issue with the Body template. The "field-bild" is there but not the body
rgds, hbauer
Comments
Comment #1
jrglasgow CreditAttribution: jrglasgow commentedI have not seen this problem, Are you still having it?
Comment #2
szy CreditAttribution: szy commentedQuestion is: should be complete default template there?
When I saw this textarea ('Body Template' below '[x] Affect body output') first time, there was only my custom cck fields... And I suppose that 'bild' ('image' in German) is the hbauer's custom cck field too.
So, what should be in this field by default? :]
Szy.
(core 5.7, Contemplate today's head)
Comment #3
jrglasgow CreditAttribution: jrglasgow commentedHow are you generating 'field-bild', is this created using an image module, or CCK? I will need to replicate the problem before I can fix it.