I have Read More Control module installed and configured to "Show link when required by any supported fields". When I apply the smart trim settings, the read more always appears even if the teaser is short enough. When I switched the teaser settings to default "summary or trimmed" then read more control setting works. It would be nice if read more control settings are available in the smart trim module itself.

Comments

das-peter’s picture

I think this issue could be related: #1984462-13: Add ability to link field to content

das-peter’s picture

..double post..

ardarvin’s picture

Seeing this same issue here. Reported to read_more_control module also, but agreed, having read more control settings in this module would be perfect.

Alan D.’s picture

@maintainers

You can try:

// Integrates with ReadMoreControl module.
$add_readmore = !isset($entity->readmore_required) 
    || $entity->readmore_required;

It is set in hook_entity_view().