Closed (fixed)
Project:
Frequently Asked Questions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2009 at 14:01 UTC
Updated:
29 Jan 2010 at 00:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
andypostThis patch makes
Q: [question]
[detailed question]
A:
[answer]
Comment #2
andypostPatch against current DRUPAL-6--1
Comment #3
stella commentedCommitted, though I had to fix it for the 'Clicking on question opens/hides the answer" layout as really the long question shouldn't appear until the short question was clicked.
Comment #4
andypostYou right, but now there's no ability to view a full node!!! All other 3 options hides long question forgiving about settings 'Question length' so long question is visible only on /faq page
I think that long question should depend only on "Question length" setting for /faq page and node-page
Comment #5
stella commentedOk you're going to have to explain that better, because I'm not following your description.
Comment #6
andypostAs descriptions said for the "question details" - it should be displayed at all layouts with answer and could replace short question on /faq page
Description of "Question length" radios is "The length of question text to display on the FAQ page. The short question will always be displayed in the FAQ blocks."
This setting for /faq page, I suppose...
Description of "Question details (optional)" field is "Longer question text. This will be displayed in all layouts where the answer appears, in addition to the shorter question text."
This tells that answer should be prefixed with this field, is not it?
Find another bug - "Question details" is displayed at top of node form (weight -1 against weight 0 for node-title)
Comment #7
andypostI spend some time with debugger and check all values, it looks like something changed at theme layer so here patch:
1) Update a weight of node->title to show it before detailed question
2) Show detailed question before answer every-time when answer displayed
Comment #8
andypostThis happens only in INLINE mode, so going to dig deeper
Comment #9
andypostNow it works as described above
Comment #10
stella commentedI've committed the node field weight change.
However I haven't committed the other change, as I said above, for the 'Clicking on question opens/hides the answer" layout, and when displaying both long and short questions, the long question shouldn't appear until the short question is clicked. Maybe the help text needs to be changed if that isn't clear.
Comment #11
stella commentedReleased in faq 6.x-1.9.
Comment #12
stella commentedNo response, marking as fixed. Feel free to re-open if it's still an issue in the latest release.