Doesn't work with the second block onwards

UnderDesign - September 30, 2008 - 12:45
Project:Autocomplete Node Finder
Version:5.x-2.1
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I've set up AutoComplete Node Finder on a site that is still in development. There are currently four ACNF blocks in use. The first one works, the others don't.

To see this (sorry about the external link, but because of the nature of the problem, I believe it works better to see it in action than to see screenshots), go to:

http://awebb.underdesign.co.uk

You may need to refresh your browsers cache as the CSS is being worked on at the moment.

Select Our Suppliers in the lefthand menu. This is the first block. Enter "A." as your search - it will return one node - the first one - and selecting that does just what it should.

Now go to Our Members in the lefthand menu. You can see that the first listing is A.N. Supplies. Try entering "A." or indeed anything you like. The ajax starts (blue icon starts whirling) but no results are returned.

Any help in figuring this out would be gratefully received.

Regards

Patrick

#1

danielb - September 30, 2008 - 22:40

Fixed in the experimental Drupal 6 version. http://drupal.org/node/306746
I planned to have finished these changes and port them back to 5 already but I've been slack.

#2

UnderDesign - October 1, 2008 - 11:29

Hi Daniel,

Thanks for your reply - we're supposed to have taken this site live at the end of September and, whilst I know that's not your problem, is there any way I can persuade you to let me have the stuff I need to fix this in D5?

I know you're probably really really busy but I need this desperately.

Regards

Patrick Nelson

#3

danielb - October 1, 2008 - 12:54

I am working on it. I thought I'd have it done now, I ported all the changed across but something is still messed up. I had a few bourbons and now I can't really see what I'm doing.

#4

UnderDesign - October 1, 2008 - 21:11

Daniel,

Absolutely hilarious! Well, I can't find fault with that at all - have a great evening and don't strain your eyesight too much!

Regards

Patrick

#5

UnderDesign - October 1, 2008 - 21:13

Just wanted to add - if you can't see what you're doing, you really should switch everything off and go and lie down - who knows how much damage you might cause! ;)

#6

danielb - October 2, 2008 - 08:37

Hey mate look out for the new release 5.x-3.0, I gave it a quick test and seems to work, but I'm rushing this out to get it to you, so consider yourself the guinea pig!

#7

UnderDesign - October 2, 2008 - 09:31

Thanks Daniel, really appreciate it - I've uploaded the module and, at present, it looks as though it's now not working at all!

The first block doesn't produce any results now (others are disabled at the moment)

#8

danielb - October 2, 2008 - 09:59

Have you tried resaving the settings? A lot of stuff there has changed too.

#9

UnderDesign - October 2, 2008 - 10:10

I'm just in the process of clearing the cache.

I tried reinstalling 5.x-2.1 after my last post (on the basis that it's better to have one working than none at all) and noticed that the settings were weird - they seemed to still have some of the settings from the 5.3 update.

I've tried resetting the settings to default but every time I increase it to 4 again, the old blocks that I'd created are there which I imagine is supposed to happen, but to completely clear everything, I figured I'd start over. I'm just about to try and reinstall 5.3 again.

#10

UnderDesign - October 2, 2008 - 10:15

Nope, still doesn't work.

Re-installed your update (5.3) and made sure that it was set to one block - went to admin/blocks and it had remembered the name of the first block (Suppliers Directory) and had retained all the settings.

Figured I'd try it anyway but when I went to http://awebb.underdesign.co.uk/suppliers, the finder still doesn't work - doesn't return any results at all.

Is there a better way to clear out any old data from the 2.1 install and really start over?

Regards

Patrick

#11

danielb - October 2, 2008 - 10:19

There is no way to clear the settings, but it really shouldn't matter since you can save your settings over those settings.

#12

UnderDesign - October 2, 2008 - 10:24

I've just re-enabled the second block as I'm at a loose end here. This one is on http://awebb.underdesign.co.uk/members_directory. Interestingly, it produces two fields to type into - so something clearly isn't working - I also have saved the new settings over the old ones before enabling this block but this is the result.

#13

danielb - October 2, 2008 - 10:31

I have two blocks on http://golfqld.dev.aspedia.net/clubs see the 'club finder' and 'event searcher'.

Hmm two blocks combined is a feature, make sure your 3rd block doesn't have the 'append form' feature set to something other than 'none'

#14

UnderDesign - October 2, 2008 - 10:33

Interestingly, on that second block - the members one - I've set the "Label for finder form" to "Find a member by name or use the browser below" but when you view the page with the block, it is using the label from the first block which is "Find a supplier by name or use the browser below: ". Also, when I go back into configure the second block, the text in "Label for finder form" has disappeared.

Also, I set the "Label for finder form button:" to "Find member" and it has retained that and is not using the First blocks label (which is "Find supplier").

#15

UnderDesign - October 2, 2008 - 10:35

Hmm two blocks combined is a feature, make sure your 3rd block doesn't have the 'append form' feature set to something other than 'none'

Yeah, I checked that - there actually isn't a "none" setting. It only provides the four blocks as a series of checkboxes.

#16

UnderDesign - October 2, 2008 - 10:37

Think I may have found the problem - just give me 5 mins.

#17

UnderDesign - October 2, 2008 - 10:41

Found the problem - I picked up the clue with you saying about making sure the append form was set to none - the reason I have checkboxes is that I am also using a module called Better Select which overrides all multiselect HTML elements in Drupal and replaces them with checkboxes. I've switched this module off and everything is working now, so there's clearly a conflict between that module and yours!

I'll cross post this on that modules project page as well, but I don't know where the conflict comes from.

Thanks for your help on this Daniel, the module is working superbly now!

Regards

Patrick

#18

danielb - October 2, 2008 - 11:09
Status:active» fixed

I installed better select, and I don't seem to have the conflict, I can control the appendages properly.
Oh but it does stuff up the autocomplete?? wierd

#19

Anonymous (not verified) - October 16, 2008 - 11:12
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.