Hi
Great module! Just upgraded to 1.1, and my excerpt textareas have grown! It seems that their size is now based on the body textarea's size? I'm sure that's really useful for some people, but in my situation the teaser's always going to be considerably shorter than the body. I've changed the code on my local installation, but it would be cool if there was an option to specify whether you want to set a manual size or to base it on the body's size.
Thanks,
Andy
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | excerpt.patch | 5.27 KB | andyf |
Comments
Comment #1
hanoiiYes, it seemed reasonable to me to have it the same size as the body field. Let's see what others have to say about this.
I think you may be able to change the teaser size in your theme instead of changing your module's local installation. I think you may be able to change it via CSS or even JS, so you can keep the module unchanged for easy future upgrades.
Also, you could create another module to alter that size and give you the setting you need.
And finally, if you feel this is worth including it in the module, please feel free to submit a patch for this feature.
Thanks!
Comment #2
racakg commentedIt would be good if you can setup option to set a manual size of excerpt textareas.
Comment #3
andyf commentedThanks for the tips!
Don't have the skills (yet) to roll it into a module or a patch I'm afraid, but when my workload dies down a bit I'll start looking at Drupal development...
Thanks again,
Andy
Comment #4
charos commentedI also would like to see a text area option and a character limit setting. I don't find any logic to have such a big text area for a teaser. Apart from that , it might confuse end users and starting writing the main body in excerpt.
Comment #5
andyf commentedI'm happy to role this into a patch.
Comment #6
andyf commentedHere's the patch. Visit the edit content type page and there's a textfield where you can set the size of the teaser in rows.
Also added a few one-liner fixes:
HTH, lemme know if any problems.
Thanks,
Andy
Comment #7
andyf commentedComment #8
charos commentedChecked all fixes and seems to work as expected! Thanks for the patch !!!
Comment #9
jromine commentedPatch works fine. Thanks.
Comment #10
Hetta commentedPatch works nicely, thanks!
Comment #11
agerson commentedworks great!
Comment #12
andyf commentedGlad it works for folk. It doesn't look like there's anyone actively maintaining this module - I'll try and contact the official maintainers, see what the situation is.
Comment #13
hanoiiMaintainer of the module checking in. Just to let you guys know that I am maintaining the module (and some others), and I will review this one soon. I once started but got behind because of other more important issues. It appears that there's enough interest on this issue to be included.
Comment #14
hanoiiOk, committed. Thanks and sorry for the delay.
Comment #15
andyf commentedThanks hanoii, much appreciated.
Comment #18
westie commentedI think this would be a great feature to include :)