option to specify size of teaser

AndyF - October 19, 2009 - 09:13
Project:Excerpt
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

hanoii - October 19, 2009 - 13:50

Yes, 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!

#2

racakg - October 19, 2009 - 14:52

It would be good if you can setup option to set a manual size of excerpt textareas.

#3

AndyF - October 20, 2009 - 03:57

Thanks 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

 
 

Drupal is a registered trademark of Dries Buytaert.