Hi Nancy:

FAQ_Ask provides a long title field (128 characters to be exact) which hangs off the side of most themes (even Garland). I didn't really notice this until I turned on the Longer Titles module and was all set to blame it until I looked at your code.

I commented out '#size' => 128 at line 172 and the field shrank to an acceptable size but still allowed Longer Titles to do its thing.

What about using a TEXTAREA for the question? I tried '#rows' => 2 and t looks pretty good.

Other tweaks: I modified the #description to mention the 128-character limit. A nicer touch would be to edit this to 255 if Longer Titles was enabled.

Cheers!
Stephanie

Comments

nancydru’s picture

I use the Garland theme and have no trouble with the length.

I have to be careful about changing it (e.g. Textarea) because it goes on into the FAQ module. I had considered just incorporating the code from Longer Titles, but decided against it.

I am committing a fix for this, including the text change, which will take LT into account.

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed
nancydru’s picture

I have just committed a fix that makes the question length a configurable option.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.