In Drupal 7 the Teaser view mode automatically comes with a 'read more' theme link. I need to retain the Teaser view mode and then create another called 'Snippet', which is basically the same as Teaser but has a lot less content in the trimmed area.
I created a custom module and added the view mode...
/**
* Implements hook_entity_info_alter().
*/
function mymodule_entity_info_alter(&$entity_info) {
// Add a custom view mode
$entity_info['node']['view modes']['snippet'] = array(
'label' => t('Snippet'),
'custom settings' => TRUE,
);
}
But it doesn't activate the 'read more' link like Teaser does. Can anyone point me in the right direction with this please?