When selecting "Label questions and answers" option with "Clicking on question takes user to answer further down the page" layout option, question label appears twice (i.e. Q:Q:) on the faq-page. Answer label however appear correctly.
The question label shows as intended with "Questions Inline" layout option selected.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | faq_remove_double_label-1291962-2.patch | 580 bytes | Steven Brown |
| faq-conf.png | 28.34 KB | declassified | |
| faq-label.png | 3.47 KB | declassified |
Comments
Comment #1
declassified commentedComment #2
declassified commentedIn the absence of helpers, I had a look at it myself and here's what I found;
In the faq/includes/faq-category-questions-top-answers.tpl.php file on line 104 I found what seems to be the offending code. The issue was resolved by commenting out the entire line.
Comment #3
declassified commentedComment #4
rediguana commentedI can confirm this. I removed this line (104) and it removed the duplicate 'Q:'. This resolved the issue for me.
<strong><?php print $question_label; ?></strong>Comment #5
Steven Brown commentedChanged the version to 7.x-1.x-dev because in both versions this is an issue and the patch needs to be tested and committed to the 7.x dev branch.
Attached is a patch that removes the problem child line :)
Please test the patch and if it fixes your issue please change status of issue to reviewed & test by the community.
Thank you
Comment #6
Steven Brown commentedPatch has been tested and committed. http://drupalcode.org/project/faq.git/commit/f8bbdeb