Closed (fixed)
Project:
Frequently Asked Questions
Version:
5.x-2.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Apr 2007 at 09:14 UTC
Updated:
1 Jun 2007 at 10:45 UTC
My web site has half a dozen sections of very different content; three of them have FAQs. I'm migrating that web site to Drupal and I' dlike to maintain navigational separation between the FAQs. The current feature that a FAQ can be broken up into subjects isn't enough: I already plan to use that feature in each of the FAQs.
Right now, I can add only one Frequently Asked Questions item to the menu; I'd like to be able to add any number of separate FAQs. Then, when I want to add a new question/answer pair, I'd say which FAQ, subject, etc. it belongs to.
I want to keep the FAQs separate: the people looking at he heart surgert site don't want to see questions abotu motorcycles.
Comments
Comment #1
stella commentedI think it should be possible to do this with what is there already.
Each of the terms/categories you add to your FAQ vocabulary will have their own unique id. Even if you disable the visibility of the categories on the FAQ page, you should be able to directly access the FAQ nodes of a particular category by using "faq/", e.g. "faq/83" where 83 is the unique id of the category.
You can then edit your menu and disable the default faq page. Then just add your own menu items, e.g. "Motorcyles FAQ" and set the path to "faq/83" or whatever the correct tid is.
If you want each FAQ page to have their own categories, then you just need to add child categories to your "Motorcycles FAQ" category. If you are worried about people typing in "www.mysite.com/faq" directly, then you should download and enable the "Path" module. This allows you to add url aliases. So you could add a normal node, which contains whatever info you want, and set the path alias to be "faq". This means that if they type "faq" in directly, then they will see the node you've created (rather than the top level faq page), whereas if they type in "faq/83" they should still see your Motorcycles FAQ.
Cheers,
Stella
Comment #2
nancydruActually, Path is a core module; it doesn't need to be downloaded. But I agree with this solution - at least as far as FAQ goes.
Now, I would seriously argue with a web site that has such different content. If it is so diverse in its subjects, it should be separate sites (maybe a multi, but definitely different domains). You may never do well with the search engines if your subjects are so different - how do they know what your site is REALLY about?
Comment #3
stella commented