Closed (fixed)
Project:
Frequently Asked Questions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2008 at 07:31 UTC
Updated:
19 Jan 2009 at 22:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
stella commentedThere is the faq page description, or if using categories, then you can configure descriptions on a per-term basis. If that doesn't answer your question then could you please provide more details on the feature you require? A two sentence description does not suffice.
Cheers,
Stella
Comment #2
wsnnn commentedThe user ask the concrete question with detailed description of the problem, for instance, this is 5 sentence. In list of the FAQ this question appears completely i.e. 5 sentence. For clarity - much uncomfortably and unreadable.
If was possible in separate field 'Title' to write the short wording of the question in 1 sentence and below unrolled question.
If this hard, that at least possible, do so that in field of the question was possible insert tag -break-
Comment #3
stella commentedThanks for the more detailed explanation.
However, I think this is an issue for the FAQ_Ask module as the FAQ module does not provide a mechanism for users to submit questions, so re-assigning.
Cheers,
Stella
Comment #4
wsnnn commentedIf I am not using FAQ_Ask and write ready questions?
Comment #5
stella commentedComment #6
stella commentedWell if it's not end-users who are writing the questions, but rather users with faq administrative permissions, they can write a short question summary in the "title" field and place the longer question text (perhaps followed by a -break- tag) at the beginning of the answer text.
This is not a feature I wish to add to the faq module, but will reconsider it if enough others ask for it in the future.
Cheers,
Stella
Comment #7
stella commentedOut of interest, if it was possible to have a short question and a longer version, where would you display one over the other? The only scenarios I can think of where you might want to use a shorter question would be in the Random / Recent FAQs blocks, or possibly in the "clicking on a question brings the user further down the page" question layout. Or do you want both to be displayed in some cases?
Cheers,
Stella
Comment #8
wsnnn commentedIf it so hard, I will try views+panels instead of faq:(
Comment #9
stella commentedFair enough, that's your decision.
Am I correct in saying though, that you only want the longer question text to appear on the individual faq nodes themselves? Since you seem to be using the "open in new page" layout, why don't you just put the longer question text at the start of the answer text and use css to make the font bigger or whatever than the answer text?
I'd really like some feedback to my questions in comment #7 above however. I still haven't decided whether or not to implement it, it could get kinda messy... I'm not sure.
Cheers,
Stella
Comment #10
stella commentedNeed more feedback and interest in this issue before I will implement it.
Cheers,
Stella
Comment #11
Emad commentedI think the insertion of the question as a part of the answer solves the issue, even in case FAQ_ASK, I can change the user's question to a shorter form and insert the full text as a part of the answer too.
It's a cool module no need to mess it up and break the compatabilty with FAQ_ASK
Comment #12
alexanderpas commentedNO, giving a more detailed (long) question as part of an awnser is NOT an option, as it breaks the (good) semantics of this module.
I would suggest adding a optional details fiels, keeping the Question (the title) and Awnser Field, therefor not breaking compability.
The Question Field would still have the regular behaviour, just like the Awnser fields, just an Optional Details is added in between.
Also, this'll keep compability ;)
so it could look like this:
Question: Question or Title or Question or Title or Question or Title
Details:
Optional More Details Optional Long Question Optional More Details Optional Long Question Optional More Details Optional Long Question Optional More Details Optional Long Question Optional More Details Optional Long Question Optional More Details Optional Long Question
Awnser:
Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser Long Awnser
Comment #13
stella commentedalexanderpas: that's fine for the entry form. How would you expect it to be displayed on each of the faq layouts provided and in the blocks? What about on the node page itself?
Comment #14
alexanderpas commentedI think you should only show the details (if availble) when you show the awnser.
Comment #15
stella commentedWould you show both? Or just show the longer question text?
Comment #16
alexanderpas commentedshow both, that way, you get the best feature-set, as the question may be important too, and we get more details in the details field.
also if they don't want the question to show, they can always hide it by theming etc.
Comment #17
stella commentedTry the attached patch. You'll need to run update.php after upgrading.
The existing question field is changed back to a "textfield" like all other node type title fields. This should contain the short question and is a required field. There is a new optional field for storing the longer question text.
There is a new configuration option,
Question length, on admin/settings/faq/questions which controls which question text is displayed. The following should happen:Cheers,
Stella
Comment #18
stella commentedPosted wrong patch, attaching correct version.
Comment #19
stella commentedReleased in 6.x-1.8.