Is it possible to add an option to use the teaser as 'collapsed text' and the full node when you expand? So not cut off the full node at a certain amount of characters, but use the teaser instead? It's kind of annoying that I make custom teasers (some are larger then others), but they all get to be 500 character long (or whatever you choose) :(

Comments

madrush’s picture

I would like this too. Thank you.

orbistertius’s picture

+1
After looking arrong I entered after line 117 in the module file:

    $sum = text_summary($output, $instance['settings']['text_processing'] ? $item['format'] : NULL, $settings['slicePoint']);
    $sum = strip_tags($sum);
    $settings['slicePoint'] = strlen($sum) - 3;

This gives you the posibility to set the break point with the summary or the <--break-> in WYSIWYG-Editor

  1. Is there a faster way to do this?
  2. Why do I have to rest some caracters and how many do I have to rest really?