dhtml combo boxes

Summit - November 9, 2009 - 08:30
Project:DHTML Menu
Version:6.x-4.x-dev
Component:User Interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, A webfriend constructed attached userinterface module with dhtml. I thought it could be handy as a submodule on Dhtml module. WOuld it be possible to integrate it with dhtml menu and that it would hold a taxonomy hierarchy like country-province-city?

Thanks a lot in advance for considering this!
Greetings,
Martijn

AttachmentSize
dhtmlcombo.zip19.41 KB

#1

Arancaytar - November 17, 2009 - 22:31

Hi,

Thanks for your suggestion! Your description and the module code sound quite interesting; unfortunately I cannot see exactly what it does, since it did not run on my test server. Is it supposed to provide a search page or a search block, and how is the search different from the one provided by Drupal core?

I'm afraid that the module code does not currently meet the standards for Drupal's contribution repository. For example, the Javascript code appears to be duplicating functionality provided by Drupal's core Javascript (eg. adding its own AJAX library). A persistent database table is created and then deleted for search results, which will explode when used on a production site with concurrent visitors. Likewise, the Form API is used incorrectly by reading input directly from the POST data and then inserting it into the database.

It sounds like if these problems were fixed, the module might be a useful addon on its own. However, where does it relate to or hook into DHTML Menu?

#2

ludo1960 - November 18, 2009 - 18:10

Hi,

Many thanks for your considered reply, I am not surprised that the module code does not meet the requirements of Drupal. I am let's say a keen Drupal student/learner!

I came across the code here: http://www.dhtmlx.com/docs/products/dhtmlxCombo/samples/01_initializatio... and decided to "play" with it.

I had it nearly working, then with further tinkering on my part it "broke", oops!

I'm afraid that I am the limilt of my Drupal knowledege, so hopfully a Pro can pick up the baton and get the darn thing working!

 
 

Drupal is a registered trademark of Dries Buytaert.