Closed (fixed)
Project:
Frequently Asked Questions
Version:
5.x-1.2-1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
4 Apr 2007 at 12:59 UTC
Updated:
11 Apr 2007 at 15:21 UTC
hello,
I have installed category module + faq module but it doesn't work fine, it can't manage faq-category.
Could anyone help me, please?
|strexy
Comments
Comment #1
stella commentedOk step by step below, first double check that both the 'faq' and 'taxonomy' modules are enabled.
That should be it. It's important to remember that if you have categories enabled and don't have a category/term associated with your FAQ nodes, they won't appear in the list.
Cheers,
Stella
Comment #2
strexy commentedhello,
I have made all your steps but, once checked 'Categorize questions', the questions in the FAQ page disappear. They appear only if I de-check the 'Categorize questions' option. I have installed category module in my website, it seems is not compatible with faq module..
|strexy
Comment #3
stella commentedI've upgraded my drupal installation and now it is happening for me. Will work on a fix now. Thanks!
Comment #4
stella commentedOk, by upgrading drupal with the latest version from CVS, I was able to reproduce what you were seeing. I had to manually delete my existing FAQ vocab and terms from the db. The new steps are as follows:
Then hopefully it should work. If it doesn't, then I'm not sure what the problem is - try upgrading drupal perhaps.
Stella
Comment #5
strexy commentedwhere I can download the latest drupal version from CVS? What file?
And.. do I need to upgrade my db or any other db stuff?
I'm a little newbie:)
thanx
|strexy
Comment #6
stella commentedI usually get the new files by doing the 2 steps below. However, you will be downloading it from HEAD, so there may or may not be unstable code. I haven't noticed anything so far however.
There are database changes, so just follow the instructions at www.example.com/update.php
Before you upgrade I'd double check that you've done all the steps outlined in #1 because I do know that the questions and answers won't appear if you have no categories associated with the FAQ nodes or if those categories are not in the vocab which is associated with the FAQ nodes. Try running the following sql in your database to test where it might be failing:
To find the list of vocabularies associated with the FAQ node type:
To get the list of categories/terms associated with vocabulary vid(s) you just found: (replace 123 with your vid returned with previous sql)
To get the number of FAQ nodes associated with categories do:
Then ensure that the tids returned from the last sql query are in the list of those returned in the previous one.
Regards,
Stella
Comment #7
H3rnand3z commentedTake a look at http://drupal.org/node/87669#comment-225000 faq with category seem to work ok after I applied this patch had to delete and resubmit my sample faq's
Comment #8
strexy commentedok,
I have replace this line
$node->taxonomy = $node->category;
with
$node->taxonomy = _taxonomy_categories_into_terms($node->category);
in taxonomy.module
and it seems work fine.
Thanks all:)
|strexy
Comment #9
stella commentedMarking as closed.