I'm trying to set the break point for the teaser on a flexinode textarea but it doesn't seem to want to work.
I don't think it's a problem with my filters as other node type are working fine, so is it a problem in flexinode?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | flexinode_truncate2_2.patch | 2.42 KB | Steve Dondley |
| #6 | flexinode_truncate2_1.patch | 0 bytes | Steve Dondley |
| #5 | flexinode_truncate2_0.patch | 0 bytes | Steve Dondley |
| #3 | flexinode_truncate2.patch | 0 bytes | Steve Dondley |
| #2 | flexinode_truncate.patch | 6.47 KB | Steve Dondley |
Comments
Comment #1
darius commentedSee the discussion at http://drupal.org/node/22788
Darius
Comment #2
Steve Dondley commentedHere's a patch to the flexinode.module and field_textarea.inc files to resolve this problem.
Special note: This patch adds a checkbox to the textarea field editing form to make truncation of the data optional. Therefore, it requires a new int(1) field, called 'truncate', be added to the flexinode_field table in the database.
Comment #3
Steve Dondley commentedAfter some more thought, I couldn't really think of a reason why a textarea wouldn't want to truncate its output when viewed in the teaser. So I don't think there is a good reason for making truncation optional. So here's a much simpler patch. It requires no update to the database.
Comment #4
Bèr Kessels commented/that/ is a patch i like :) can we mark this won't fix then?
Comment #5
Steve Dondley commentedDon't know what happened there. Trying again.
Comment #6
Steve Dondley commentedHuh. One more time, with preview.
Comment #7
Steve Dondley commentedtrying once more, without samba connection
Comment #8
jiggonaut commentedI have applied this patch and noticed that instead of the Image only a text link to the Image (with the filesize in breaks) is shown in the teaser. Can you confirm this?
Comment #9
Steve Dondley commentedI'll check it out. Remind me in a couple of days if you don't hear back from me.
Comment #10
jiggonaut commentedStrange! Now (with a new installation of Drupal- and the same patch) everything works fine. Sorry for the confusion... and thanks for this patch. It is very helpfull.