Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Nice mod!
Would be great if the default settings could also appy to the separate Teaser block (e.g., Excerpt module). In a perfect world, the Teaser could be set uniquely (diff from Body), but would be acceptable for it to follow the specification of the Body field.
Comment | File | Size | Author |
---|---|---|---|
#4 | better_formats.671284_01.patch | 1.41 KB | sgabe |
#3 | Create Story - Drupal 6 Sandbox.png | 1.38 KB | dragonwize |
#2 | screenshot1.jpg | 35.87 KB | greta_drupal |
Comments
Comment #1
dragonwize CreditAttribution: dragonwize commentedDrupal 6 already provides that functionality in core and it works as described.
Comment #2
greta_drupal CreditAttribution: greta_drupal commentedAfraid not -- on both counts. Observe in the attached screenshot. The Teaser form field (top one), shows WYSIWYG controls -- using the Input Filters default. Whereas, the Body form field (bottom one), shows _no_ WYSIWYG controls and a modified label for input filter -- a result of Better Formats default settings.
Comment #3
dragonwize CreditAttribution: dragonwize commentedYour setup is being modified by some other code then. Drupal 6 core even with the wysiwyg module installed allows for a different teaser and body by unchecking the checkbox above the body field.
Comment #4
sgabe CreditAttribution: sgabe commented@dragonwize: you are right, but I think you got it wrong. There is an issue, which greta_drupal was trying to point out. If we use a completely separate teaser field e.g. Excerpt module (like she mentioned too), the default settings by this module don't apply. This can be fixed with a custom module, but would be better if Better Formats would support Excerpt. See the attached patch.
Comment #5
sgabe CreditAttribution: sgabe commentedComment #6
dragonwize CreditAttribution: dragonwize commentedOther modules will be able to take advantage of BF in 3.x.
Comment #7
sgabe CreditAttribution: sgabe commentedThat is awesome, but why this could not get in until then? I think 3.x is very far yet and this has not major impact which would need new API system.
Comment #8
dragonwize CreditAttribution: dragonwize commentedActually it does need a new API to give the requested customization that has been requested for other modules. If you want to have an except and still use BF I would suggest using either Drupal core's summary/teaser functionality or use a CCK text field instead of the Excerpt module which will achieve the same thing and works with BF already.
Comment #9
dragonwize CreditAttribution: dragonwize commented6.x is now unsupported.