Currently, when 'Disable question links to nodes' is enabled, FAQ questions in the recent FAQs and random FAQs blocks no longer link anywhere (they would link to the questions themselves otherwise). Instead, the user is expected to click All FAQs and find the questions there. This issue is a feature request that they link to the questions directly on the faq page when linking to the 'nodes' is disabled.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | faq-link_to_questions-829368.patch | 3.07 KB | darktygur-1 |
Comments
Comment #1
darktygur-1 commentedPatch is attached.
Comment #2
elijah lynnI would love to see this feature! Currently, we have to rely on them seeing the breadcrumb to get back to the FAQs, from a usability standpoint this way would be desirable.
Comment #3
stella commentedThis solution doesn't work in categorization is enabled. It doesn't set any anchor at all in such cases, and the anchor label would need to be different in any case (t12n34 for tid 12, node 34). In addition, with categories it's quite possible that the question and answer won't be displayed on the main faq page. I've committed what has been done so far as it doesn't break anything, but this functionality is not complete and requires further work.
Comment #4
stella commentedWhat has been done so far has been released in 6.x-1.12. Still waiting on new patch for categorization.
Comment #5
shiff2kl commentedI have found the fix for links to work when using categorization.
Line 949 of faq.module is as follows:
$path = pathauto_create_alias('faq', 'insert', $placeholders, arg(0) .'/'. $term->tid, $term->tid);
If I change this to the following, it works:
pathauto_create_alias('faq', 'insert', $placeholders, arg(0) .'/'. $term->tid, $term->tid);
Comment #6
stella commentedI don't see how that fixes it.
Comment #7
stella commentedClosing as no updates in over 6 months.