Closed (works as designed)
Project:
Display Suite
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 05:23 UTC
Updated:
2 Jun 2012 at 12:40 UTC
Hello,
Is it possible to have a control on the teaser size ?
A bit like in view when you can trim the length of an input to a maximum size and add ellipsis...
Thanks !
Comments
Comment #1
swentel commentedThat's a hard one - it mostly depends on the setting set at admin/content/node-settings. In the early days we also had a trimmed version of the body but it had so many problems we removed it again. What you can do though is implement hook_ds_fields_alter and add a new formatter and add your own function ..
Comment #3
polHi Swentel,
While trying to find a solution, I've also tried the module Custom Formaters. Very nice thing... but: http://drupal.org/node/841272
I've also tried to modify the teaser size in admin/content/node-settings but it doesn't change anything.
Weird...
If I don't find something 'easier' I'll try your solution.
Thanks dude!
Comment #4
polProblem solved at http://drupal.org/node/841272
Thanks!
Comment #5
batigolixYou can create your own teaser field at: admin/build/ds/nd/fields
E.g. using the code below
Comment #6
polThanks Batigolix ;-)
Comment #7
FanisTsiros commentedThanks Batigolix ;-)
for Drupal Seven i modified: