Not working

NathanRAFT - October 5, 2007 - 04:14
Project:Taxonomy Search Module
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I set everything up and when I browse to my form I see the two dropdowns. The second one has all nodes of the selected type reguardless of if they are assigned to a term in the vocab. When I select another term. Nothing shows in the second dropdown. When I switch back to the first term nothing shows either.

Any ideas? Does anyone have a currently working version that they can post or send me?

Many thanks. I really need this ability!

#1

markfoodyburton - October 5, 2007 - 08:48
Status:active» postponed (maintainer needs more info)

MMm, it works for me...
I think I need a few more details.

#2

NathanRAFT - October 12, 2007 - 14:26

I tried it on another site and I am getting the same result as I wrote up before.

Here are my steps.

1. Create nodes under some terms in one vocabulary .
2. Add a node reference /taxonomy search list widget in a second content type
3. Choose the vocabulary I created the nodes under.
4. Content types that can be referenced: the node type in #1.

Do you know of any conflicts with other modules or settings that I am missing?

If you don't mind sending me the one you have working then I will try that as well.

Many thanks!

#3

markfoodyburton - October 15, 2007 - 06:50

This may sound obvious, but do you have Javescipt enabled?

Cheers

Mark.

#4

NathanRAFT - October 27, 2007 - 22:26

Sorry for the late response...

Yes JS is on and I tried it in both ie and ff. I wonder if I have something else on that is conflicting with it... looked around but don't see anything obvious.

#5

markfoodyburton - October 28, 2007 - 08:47

I'm not sure what to suggest next. I'm away for a month, so I wont be able to help much. You should try to make sure the AJAX side of things is working on you site.

I assume you have given the field type a "type" of node to be referenced? (You need to select the node types that can be referenced, even if you expect the "taxonomy" tag to give you the right list)

You should be able to go to the URL that delivers the output from the database, which is then loaded into the drop-downs in the form... should be /taxonomySearch/autocomplete/[FIELD_NAME]/TAGNAME (to find out what your field name really is, have a look in the html of the page!)
On that page, you SHOULD see the data that gets put in the form. You should experiment a bit and see if the TAGNAME is wrong somehow... Basically, the code is simple:

foreach (_nodereference_potential_references($field, TRUE, '') as $row) {
    $tags=taxonomy_node_get_terms($row->nid);
    if (isset($tags[$string]))
...

So, given a set of potential node references, it just looks for nodes with the TAGNAME string....

Good luck

Cheers

Mark.

#6

ricflomag - November 13, 2007 - 19:32

I have had the same problem, caused by the fact that the user i used to create a node and select a node reference as a CCK field node was not granted view access to the nodes that would have shown in the node reference widget list.

Granting access to view the nodes was the solution. Hope it helps.

#7

markfoodyburton - March 4, 2008 - 12:54

Is this issue still open?

#8

mcreature - March 5, 2008 - 03:09

Just tried it from the new dev.2 version downloaded today, and I am also still having this issue, does not work yet.
All other java modules on the site are working properly.

#9

markfoodyburton - March 5, 2008 - 07:20

Did you try accessing the URL directly?
Did you check the permissions (as ricflomag suggests?)

Cheers

Mark.

#10

mcreature - March 5, 2008 - 18:47

>Did you check the permissions (as ricflomag suggests?)

Yes logged in as main admin, yes, This is just a testing site.

>Did you try accessing the URL directly?

? URL directly?
I created the field, After saving it I also went back and doubled checked the default settings in the field administration's area, which produce the same results, and also do not save correctly, but thats another issue.

Thanks for your response Mark, hopefully we can narrow this down

Regards, Lowell

#11

markfoodyburton - March 5, 2008 - 20:07

can you do the visiting
http://......../taxonomySearch/autocomplete/[FIELD_NAME]/TAGNAME
thing
And see if it gives anything reasonable - as in #5 above

It's a little hard for me to tell whats going on really :-(

Cheers

Mark.

 
 

Drupal is a registered trademark of Dries Buytaert.