When I add a node to certain category sometimes it increments the number shown in te taxonomy menu and sometimes it doesn't.
Resetting the menu seems to solve the problem , but it is too annoying to do it very often
When I add a node to certain category sometimes it increments the number shown in te taxonomy menu and sometimes it doesn't.
Resetting the menu seems to solve the problem , but it is too annoying to do it very often
Comments
Comment #1
linuxbcn commentedI have the same problem!
Is a crazy issue for me and i'm not find the solution. In an web project I have 3 languages and all work perfectly with Taxonomy menu but in one menu isn't sow the children terms..
I think this is an issue with the i18n module...
Comment #2
tf5_bassist commentedAlso am having that same issue. Can't quite figure it out yet, although when clicking on the menu item, the correct count is listed, and all is well.
Comment #3
tf5_bassist commentedEh, forgot to comment that i'm running the dev version... why, I don't remember... but I am. Either way, I've cleared the cache, disabled/enabled the module, and the vocab terms, done everything... it seems that my node counts are stuck.
If anyone needs to take a look at the site, it's http://www.slappop.com ... It's driving me insane, I just can't figure it out.
Comment #4
fxnut commentedYep, I'm getting the same. After doing a bit of testing, it seems to count each article twice, although not always.
Looking at the code, there's another issue. This line...
if (variable_get('taxonomy_menu_hide_empty', FALSE) == FALSE or $num != 0) {
...appears to use $num before it's declared and initialised. BTW, this is with the April 15th dev version with the patch applied (plus the tweak to avoid the "Array -> Array" problem with the breadcrumb)
Comment #5
fxnut commentedAh, okay, I've just figured out what's happening. Each parent taxonomy category is including it's children's taxonomy count, but I'm also assigning the child articles to the parent taxonomy as well.
I'm gonna file this as a new issue (well, more of a discussion actually), as I think it's probably distinct from the issues other people are having.
Comment #6
kenorb commentedsubscribing
Comment #7
Afief commentedIt's a bit unclear what the issue is here. Is the problem that the number takes into account the descendants as well or that it is just Plain Wrong(tm)?
Comment #8
gleb1982 commentedSame with me versions of all modules and drupal are the latest. It seems that the numbers are being recounted only when you click "Display number of nodes per terms" and press save.
Comment #9
netbear commentedAlready posted in another topic same problem, still have no desigion.
Here is what i did:
1) Installed fresh copy of drupal 6.4
2) Created vocabulary several levels deep
3) Created nodes( my "manuals") and binded each of them to the vocabulary terms(one term for each node)
4) Installed taxonomy_menu module
5) Choosed the vocabulary on the settings page of this module
6) Created new menu on the menu administration page
7) Replaced the parent item of the items created by taxonomy_menu from navigation menu to the newly created menu
8) Looked at the pages with adresses "category/...."- everything ok
9) Added some manuals to the list, removed some (added twice by mistake for example)
10) The result you see now on my site- wrong datas(counts not equal in the page title and in the menu items, page title shows correct number and menu item shows wrong)
After i discovered this mistake i reinstalled taxonomy menu, installed it again, repeated steps 5) - 8)
Found that results are correct. Started to add manuals, edit tham and delete some again and discovered that there are mistakes again in counts.
Comment #10
toadyc commentedI have a similar issue with my D6.6 site using CCK (which is using Taxonomy to define some Content Taxonomy Fields):
1. I installed and configured the Taxonomy Module (admin/settings/taxonomy_menu) to show category "Type of Program", which is a Vocabulary I created prior to installing Taxonomy Menu. "Type of Program" includes Terms T1, T2, T3
2. I think that created entries in the main Navigation Menu for all the Terms T1, T2, T3, which I saw at admin/build/menu-customize/navigation. I moved those Terms from the Navigation Menu to a new menu I created called Directories
3. After enabling the Directories menu on the Blocks page (admin/build/block), I was able to view my Directories menu displaying all the Terms T1, T2, T3 (nice!), and with counts besides them (even nicer!). So it looked something like this:
Directory
------------
Type of Program
o T1 (44)
o T2 (0)
o T3 (12)
Problems
------------
1. the problem is that the counts seems to be stuck in time, in that they don't change when I add new nodes belonging to T1, T2 or T3.
2. Another problem is that I have many nodes belonging to T2, but it is showing up with Zero count.
Possible clues:
------------------
1. Digging into the database (which is as far as I can go since I'm not a programmer), it seems like it's getting the counts from the table "term_node"...instead of the table "content_field_program_type" which is a table that seems to get incremented whenever I create a new node of type T1, T2 or T3.
2. I can't remember 100%, but I believe that T1, T2, T3 may not have been defined by a Taxonomy vocabulary, but were simply part of a list of Text fields. Maybe this caused some entries to get created in table "term_node"?
Comment #11
indytechcook commentedPlease try the newest version of Taxonomy menu and open an new issue if this is still a problem.
Comment #13
benone commentedI am using 6.x-2.4-beta1 and still have this problem.
Am I missing something ?
Comment #14
hles commentedComment #15
johnv