Make multiple FAQ with different settings
emancipator - August 23, 2008 - 23:27
| Project: | Frequently Asked Questions |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Hi,
Is it possible to
1.) make two entirely separate FAQ's (for example, I want to have one FAQ for project A and another for B)
2.) Can I make those two FAQ's have different settings (for example, I want one to have inline categories, the other to have "clicking on category opens/hides questions and answers under category")
I am on drupal 6.x and I want to achieve the above with one FAQ module installation (unless I can install the same module twice without conflicts)
Thanks

#1
#2
I need to think about how this could be implemented, before I decide whether or not to do it. However, this is not a critical issue. It may be critical for your project, but it isn't for the faq module as a whole, so marking back to normal. I'm at drupalcon in Szeged this week so I won't have a chance to look at this feature request until next week at the earliest.
Cheers,
Stella
#3
Thanks for your reply!
I just thought it would be a nice feature to have but it looks like a lot of coding will be involved...
#4
Marking this as postponed as it's not going to make it into the next official release. Will re-open then.
Cheers,
Stella
#5
I would also be interested in this for 5.x branch if possible. Not sure if the 5.x branch is still getting features added to it or not.
#6
Marked #297914: allow uncategorized display even when FAQ Categories exist as a duplicate of this issue.
#7
#8
In the meantime, you might be able to achieve a similar effect using the views module.
#9
Good point. I will try that out. Thanks!
#10
Any other ideas? using view doesn't do it quite the same way...like how it has a nice drop down
#11
Nope, views won't do it. But go to the linked issue above to see the solution that's already built into the module.
#12
This is exactly what I was hoping this module would do. I have various mini-sites for different departments that would use different FAQs. I definitely echo emancipator's need and request. Thanks!
#13
please, do not edit the title of the issue unneeded.
#14
Hi there,
I would just like to also add my request for this feature to be implemented. In addition to multiple FAQ pages I would also ask if there is any way to restrict which categories or individual FAQ nodes a user sees/has access to based on user permissions or roles. For example, there are FAQs numbered 1 - 10. User A is allowed to see FAQ 1-5 but not 6-10, while User B is allowed to see FAQ 6-10 but not 1-5. I'd be satisfied with using subcategories for the different FAQs so long as users could be restricted to certain subcategories. Can this be accomplished by the existing FAQ module?
Thanks.
#15
The restricted access issue can probably be achieved using the "taxonomy access control lite" module: http://drupal.org/project/tac_lite Though you may need the latest dev release for integration with this module to work correctly.
#16
Sounds promising - many thanks for the suggestion!
#17
I would also like to see this feature implemented. Multiple FAQs on the same site. Subscribing.
#18
Subscribing, this is exactly the functionality I need.
#19
#20
subscribing
#21
Try the attached patch, or the most recent dev version (available later today).
Like before, you can call the
faq_page()function to embed FAQs in a normal node. For exampleprint faq_page(0);would display all faqs for all terms, whereasprint faq_page(1);would just display faqs associated with the term which had an id of 1. This requires the php filter input option by the way.There are now two extra parameters to the faq_page() function:
faq_page($tid, $question_display, $category_display);. These params override the default question and category layouts.For example, to create a faq listing for term 1 which has the "questions inline" layout, with default categorization call:
print faq_page(1, "questions_inline");To do the same, with "categories inline" layout, call:
print faq_page(1, "questions_inline", "categories_inline");The list of possible question layouts is:
The list of possible category layouts is:
Cheers,
Stella
#22
Released in 6.x-1.8.
#23
Hi Stella,
Thanks, as always, for the hard work.
I've got the multiple FAQ methodology working for the most part, but it seems that I cant get the actual category names to show up when embedding a FAQ category in another node.
For example, I'm using:
print faq_page(14, "hide_answer", "categories_inline");print faq_page(16, "hide_answer", "categories_inline");
This shows each category's questions correctly (with the answer hidden), but there is no actual category name shown. The categories are separated correctly though, and I can see that its grouping the correct questions together.
#24
@JonoB: Can you open a separate support request? Perhaps include a screenshot, and also check your FAQ category settings.
#25
Automatically closed -- issue fixed for 2 weeks with no activity.