Posted by skelesp on December 3, 2009 at 11:45am
I'm using a custom made content type (with CCK) and I've changed the body and teaser output with the contemplate module. When I insert a
into my body text, nothing happens with the teaser. Is something conflicting between contemplate and the teaser break?
In the teaser variables, I've noticed that there are several fields containing the same text with different tags:
$node->field_info[0]['value'] **
*** text part 1 *** <!- -break- -> *** text part 2 ***
$node->field_info[0]['format'] (NULL)
$node->field_info[0]['safe']
<p> *** text part 1 *** *** text part 2 ***</p>
$node->field_info[0]['view']
<p>*** text part 1 *** *** text part 2 ***</p> So, only the ['value'] field contains the break, but it doesn't have any other formatting. Even when I insert this text, the break does not occur...
What am I doing wrong or what am I missing?
Comments
additional information
I've discovered that $node->readmore = FALSE. Can this be a reason why the teaser doesn't break?
Please someone answer me...