Closed (fixed)
Project:
Frequently Asked Questions
Version:
6.x-1.11
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2009 at 20:45 UTC
Updated:
30 Jun 2010 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
stella commentedThe disable links to FAQ nodes feature was only designed with the FAQ pages and not with the blocks. Extra changes will be required to make the FAQ blocks link to the FAQ page to do what you require.
Cheers,
Stella
Comment #2
asak commentedThanks stella.
If this is critical for anyone else:
Change line 1211 and 1238 from:
$items[] = l($node->question, 'node/'. $node->nid);To:
$items[] = l($node->question, 'faq');To change both blocks to link all nodes back to the faq page.
This could be a handy feature at due time ;)
Comment #3
stella commentedThat will work, but I'd prefer the final solution to link to the actual answer on the faq page, rather than the top of the faq page.
Comment #4
stella commentedI've added this to the latest dev release, which will be available later today. However, rather than changing the questions to link to the 'faq' page as suggested, I've just changed them to be just text (no link). The 'All FAQs' link underneath will take the user to the faq page as normal.
Cheers,
Stella
Comment #6
venusrising commentedThis seems to occur with version 6 too. FAq Block link goes to node page, is it safe to use the above fix for current 6 version too?
Comment #7
stella commentedIt should have been committed to Drupal 6 too.
Comment #8
stella commentedReleased in faq 6.x-1.9 and 5.x-2.13.
Comment #9
darktygur-1 commentedWe just upgraded to the latest version of faq module (late, I know) and were surprised to find that the links in our faq block turned into plain text, which is really not user-friendly. I don't see any reason not to just link to the question. I've attached a patch that turns them back into links, because it looks like a regression to me. If people want to see all FAQs, they can click All FAQs. If they want to see a particular question, they should be able to just click the question, not have to click All FAQs and then hunt for it.
The patch ended up being more complicated than I originally thought because of the different "Page layout" options. I had to make links like /faq#n123 work in almost all of them.
Comment #10
darktygur-1 commentedI forgot to change both of the block types that list faq questions.
Comment #11
stella commentedPlease just disable the option 'Disable question links to nodes' at admin/settings/faq/questions.
Comment #12
darktygur-1 commentedWe're using the questions_top page layout (Clicking on question takes user to answer further down the page). Unchecking 'Disable question links to nodes' causes each question heading on the /faq page to become a link to the node, which isn't what we want. Is there something wrong with linking directly to the question on the /faq page even when linking to the 'node' is undesirable?
Comment #13
stella commentedthere shouldn't be - please open a separate ticket for that request.
Comment #14
darktygur-1 commentedThank you. For the sake of anyone else that comes across this, the issue is at #829368: Link directly to faq questions on the faq page when linking to question nodes is disabled