First of all, thanks so much for the module, it's really cool and works very well. However there are just a few small features that I'd like to request that would assist me greatly. First of all, can you expand the size of the textfield for the question. There's just simply not enough room for most of the questions I've been using and it makes it tough to see. At the very least can you provide a setting to expand the form area?
Secondly it would be great to be able to format the question text automatically or at least have the default be bold so that it stands out on the page. If there was a setting for this, this would be terrific as currently I have to hand code each question to bold it.
Thanks again! Keep up the great work
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | configurable_question_rows-1482590-5.patch | 2.79 KB | patrickd |
Comments
Comment #1
patrickd commentedThanks for using it!
Requested features:
Did I get these right?
Comment #2
CinemaSaville commentedActually, I just realized that the form for the text field is controlled by the admin theme, so I'm not sure if you could affect it via your module.
And yes to #2.
You're welcome for using it. It's very much appreciated.
Comment #3
patrickd commentedI can do it by replacing the question textfield with a textarea with a configurable number of rows
Comment #4
CinemaSaville commentedOK, sounds great.
Comment #5
patrickd commentedThe attached patch let's you choose a custom rows parameter for the question field.
I've not found a nice solution for configurable styling, but simply putting
into your theme's CSS should be enough.
Please test the patch with git apply.
Comment #6
patrickd commentedTested and committed, seems to work fine.
Will do more exhaustive tests on 7.x-1.x in general.
Comment #8
cmah commentedHi Patrick -- great module, and generally much more useful than the older FAQ module.
In use plaintext format for questions you seem to definitively decide that questions should only be plaintext textfields, yet here, questions are discussed as if they might also be optionally textareas with configurable numbers of rows.
Which is it? Since the latter issue post-dates this one, I'll assume you came down on the side of "plain text" and that any use case where we might want to use a textarea for questions is off the table.
Comment #9
patrickd commentedhi chickenofeathers
Glad you like it!
Question text will always be outputted with "plain text" filter.
The widget itself has nothing to do with the format for the output.
The widget for the question may be a textfield or a textarea with a configurable number of lines.
7.x-1.x is pretty much feature complete and stable and I'd rather not change anything about that.
in 8.x-1.x the output format of the question should be configurable
Comment #10
cmah commentedPatrick, sorry to be super-dense, but I don't understand why you may have a textarea with a configurable number of lines, and yet still have the question max length be set to 255. If it can be a textarea, it ought to really be one, and not just be a VARCHAR(255) disguised with a large textarea.
What am I missing here? I have a lot of questions which are longer than 255 characters.
Comment #11
patrickd commentedI get that, would you mind to open a new feature request issue? ;)
Comment #12
aitala commentedHe did... Nothing has been done.
Eric