Closed (fixed)
Project:
Hierarchical Select
Version:
6.x-3.x-dev
Component:
Code - Content Taxonomy
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2008 at 13:08 UTC
Updated:
5 Sep 2009 at 20:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wim leersThere will be, when I find the time, and it'll definitely be *after* my exams. Patches or sponsoring are welcome of course, and will make D6 support come faster.
Comment #2
wim leersComment #3
wim leersComment #4
Rob T commentedThis module is the best thing since sliced bread. I wish it was in core.
It's times like these where I wish I had some coding expertise, because Hierarchical Select is the one module I absolutely need for Drupal 6.
Even more unfortunate is that for Drupal there is no Taxonomy Super Select, Form Tweaker, CCK Taxonomy, etc. solution. Applying terms to content types is a crazy bad experience in Drupal 6, at least for what I am developing.
Is paying to get a D6 release the best way to move this project to the fast track? Or is it more the lack of developer time in general?
If payment could fast-track Hierarchical Select for Drupal 6... in terms of sponsoring a D6 version, what kind of money do projects like this cost?
Comment #5
wim leersFirst of all, thank you for the compliments! :)
At the moment, it's lack of developer time. I still have several features to implement in version 3 (for Drupal 5). After there's a 3.x final release, I'll work on the D6 port.
A D6 port will *not* require a complete rewrite. It will allow me to strip several tricky parts of the code, and force me to make some changes (e.g. hook_menu() changed a lot, and virtually all Forms API hooks have changes in their parameters).
What is your timeframe?
Comment #6
Rob T commentedIt is looking more and more like I'll be developing with 5.7. I have 2 tracks at the moment - 6.2 and 5.7, and there's just no way I can justify the 4-6 week increase in dev time to get a usable 6.2 version of my project.
So my timeframe might be an N/A as far as Hierarchical Select is concerned, for the 5.x verion of your module works well for me. It's such a useful module.
Comment #7
wim leersVery well! :) The reason I'm developing version 3 for Drupal 5 instead of Drupal 6 is the same reason you implicitly mentioned here: Drupal 5 is still used by a lot of companies. And it will be for several more months. So it still makes sense to write big updates for 5.x modules.
Comment #8
Rob T commentedHS3 sounds great!
I disagree with your last point, "it still makes sense to write big updates for 5.x modules". It makes much more sense to me to "wrap up" the working 5.x versions, port to 6.x, and then perform the next major version release on 6.x. Continued major development on old platforms encourages and convinces Drupal users to ignore the current product in favor of an older platform. That can't be a good thing. If Drupal 5.x contributions continue to grow, Drupal 6.x production sites will continue to lag. There's literally momentum being sucked from 6.x and reinvested into 5.x, and in some contributions' cases this seems to be accelerating.
Comment #9
wim leersPersonally, I agree with you. However, not everybody (including some of my clients) can upgrade in the next, say 8 months or so, because they're still developing *big* sites on D5. So it really does make sense.
Comment #10
Rob T commentedI agree that it makes sense on a micro level.
An FYI regarding my statement in #4 above...
A 6.x dev version of Content Taxonomy was released a few days ago, so there is at least a little more flexibility in the assigning of vocabulary terms by using radio buttons, check boxes, trees, etc. It's no Hierarchical Select by any means, but it can be friendlier than the standard select box on 6.x. I'm currently trying it out.
Comment #11
nirvanajyothi commentedHi Leers...Its a great module and i am sad i cant really release my site in D6 without Hierarchial Select...there are a lot terms in multiple vocabs which without this module will drive away any user after they try to narrow in on the right one...lets hope for a release soon!
Any help in testing the 6.x version count on me.
Comment #12
magnus commentedsubscribe
Comment #13
Rob T commentedI've been keeping watch on your CVS messages for v.3, and it's exciting to see all you've done. Kudos to you!!!
To update a post above, I've since committed on 6.x for my project, so I won't be reaping the fruits of your labor quite yet. I've decided to count on Hierarchical Select being available in the future, and I am developing with that assumption. It's that valuable a module.
I can handle the minor issues with Views 2, and I can deal with the manual workarounds for making my own panels. But Hierarchical Select - like the Drupal Admin Menu - it's just painful working without it once you've had a taste. And unlike the admin menu, this one extends outstanding functionality and usability to admins and users alike.
Applause for your active development. I'm sure v.3 will be great. Hopefully the eventual port to 6.x will be somewhat smooth.
Comment #14
wim leersI'm pretty certain that porting will be smooth. While I don't know all the details of D6, I'm aware of almost all changes, and I did the development of HS 3 with "D6 portability" in mind. :)
That said, time is, and will be scarse till the end of June. So I really can't make promises. Worst case scenario: first week of July. Bad case scenario: 3rd-4th week of June. Hoped case: 2-3 weeks from now. Best case: 2 weeks from now.
It's a weird feeling that somebody is actually tracking your CVS commits :P But it also gives you a feeling of appreciation, so thanks for that :)
Comment #15
nirvanajyothi commentedcome on leers ...put an end to this wait for D6 sake...really praying u get enuf time to release the module as what u said in the "hoped case scenario"...july will be quite long a wait...will surely be a great module for future D6 users...
I would also like to ask you sincerely when do you think(frm ur experience with Drupal) D6 will be usable with important modules like Hierarchial Selcect and other cool ones...and is there a way Drupal association can hasten dev of the modules used by more drupal based developers.
Thankyou
Comment #16
wim leersCopy/pasted from somebody who e-mailed me with the same question:
As you can see, there simply is no way for me to spend any time on it, since literally *all* my time is already being consumed.
Comment #17
Rob T commentedKick butt on the school stuff, Wim. I trust that you'll be back around when time permits.
So many other module maintainers/developers seem to disappear without so much as a brief explanation, so I appreciate the updates.
Comment #18
Hyper-1 commentedI'm looking forward to v3 for Drupal 5. I disagree with the other comments about ignoring D5. D6 wont be ready to use for more complex sites for at least a few months because Views and CCK aren't even ready.
Comment #19
Rob T commentedI'm using Views and CCK versions for 6.x, and they are working pretty darn well. Obviously, we'd all like official releases, but for the basics I've come accustomed to in 5.x, the current dev/beta versions are doing the trick.
Comment #20
nirvanajyothi commentedIt seems Wim has got enough work to do apart frm his exams.Still he is updating 5x dev .Kudos to his spirit.Lets give him his time and wait for the best.
Comment #21
wim leersYes, I'm still in my exam period, but I've got some time now. I worked on HS yesterday and will do so today. With some luck, I might get out a beta for the 5.x version.
As I said in this issue before: as soon as version 3 for Drupal 5 is stable, I'll port it to Drupal 6. And that will probably be less than a day of work. But if I'd be working on the Drupal 5 and 6 versions simultaneously, I'd have to keep fixes in sync, thus doubling the amount of work!
I think it's pretty likely now that you'll have a 6.x alpha on the 5th of July at the latest. (The Drupal 5 version is making excellent progress, lots of issues, but almost all of them small ones.)
Comment #22
nirvanajyothi commentedAll the best for 5.x-3 ,Wim!
If the 6x version comes out on July 5th...i will shift to D6 ....i really love D6.Sincerely hope to see it happening on 5th.
Also is there a way to display the taxonomy terms as links for the user to click on in the 6.x version....i mean some functionality like http://drupal.org/project/archive_by_terms .or
http://drupal.org/project/taxonomy_vtn
Comment #23
wim leersnirvana4ever: nope, that's for *displaying* hierarchies, HS is for *selecting* item(s) in hierarchies. Links don't make sense, especially because it would become WAY too big if you've got huge taxonomies (in the range of 10,000 or more).
Comment #24
nirvanajyothi commentedok.but are there sites running on 10,000 taxonomies?thts huge!
Comment #25
wim leersNot 10,000 taxonomy, 10,000 terms in a single vocabulary. I've heard of ones with +- 50,000 as well.
Comment #26
nirvanajyothi commentedthts really big a no...i have around 60 terms in one vocab and had thought it was quite big ...but it appears to be nothing much!
Comment #27
faunapolis commentedsubscribing:)
Comment #28
nirvanajyothi commentedHi Wim...is the work happenin as fast as intended ...is the gift on the way for 5th?
And ,wanna ask u whether we can use HS 6x for enabling users to select Country-->state or even Country-->state-->city in their profiles ?
Most of the webmasters will like to know the nationalities of the users and users of other users.So if this function can be inbuilt into HS 6x i feel it will be used abundantly.Now that the profile module for D6 , content profile makes profile a content type it would be possible to have HS in the profile page too.
Comment #29
wim leersWork on the D6 port will probably begin on July 4, i.e. after my exam. I was talking about an *alpha* version on July 5, not a beta or final ;)
Comment #30
nirvanajyothi commentedI know.I expected the same.
what abt the country functionality?Can that be added.
Comment #31
wim leersCountry? You can already do that with taxonomy. Perhaps you mean location CCK field support?
Comment #32
nirvanajyothi commentedyes...have mentioned it in the previous post.Sorry if it wasnt well written.
Wont it be good if its available with the new HS? Or has it to be incorporated into taxonomy?
Comment #33
wim leersSo you meant Location CCK field support, then? Still not entirely clear. Anyway, the answer to that question is yes, that's coming!
Comment #34
nirvanajyothi commentedhave added HS to Contributed modules status - version 6.x at
http://groups.drupal.org/node/5036
Please make any changes as appropriate.
Comment #35
nirvanajyothi commentedlub dub......lub dub...lub dub..lub dub..the beat is gaining speed...please surprise me!
please....
Comment #36
nirvanajyothi commentedwaited long...ready to wait longer!
because really love HS.
All the best with the work.
Comment #37
EyeChartBrew commentedSubscribing. :)
Also..... say I have something like Country --> Region --> State for my Taxonomies.
Will HS allow someone to select for a New Node "California", and HS automatically tag the Node as "California" *and* "Western US" *and* "United States"?
Or would it allow the Node to only be tagged as "California"?
Cheers!
//TB
Comment #38
wim leersThere's a small delay due to some obligations I had to fulfill for a client. On the bright side, this resulted in a bunch of bug fixes/improvements to the HS 3 code for D5, which will of course also apply to the D6 port :)
You can expect an alpha in a couple of days.
Comment #39
nirvanajyothi commentedk.i trust that.
Comment #40
farald commenteddum dum di da.. Exellent module:)
Comment #41
nirvanajyothi commentedwhats happenin leers....stuck with sumdin...am really anxious ...
Comment #42
nirvanajyothi commentedChk out the drupal download statistics for Drupal.Drupal 6 is gonna have many more users I feel.
http://buytaert.net/drupal-download-statistics-2008
Comment #43
wim leersAs you probably already understood, I didn't have the time yet to begin working on the port. Lots of unexpected things had come up.
Today, I've finally begun working on it. The necessary changes for the Menu system have already been made (including conditional file loading and a wild card loader), as well as taking advantage of hook_theme (again including conditional file loading).
I've read through the docs for the new FAPI version and that's going to be a big job to port to…
One baffling change is that while $op is gone, there's no clear replacement for me: I need buttons on $form_element level, not $form level. And that doesn't seem to be supported… As soon as I have it working, I will post a patch. And only then, possibly even only when most if it is working, I'll create a D6 branch.
Will keep you posted.
Comment #44
nirvanajyothi commentedk Leers.ALL THE BEST with the work.
What i would like to request is to release D6 in July...I really need it.I feel a bit sad that its not out still.But again,I can only pray to you and keep hoping.
Thanks for the reply.
Comment #45
wim leersI found a work-around for the above issue.
Plenty of new ones though. One of which is that I was going to ditch my own form cache in favor of Drupal's own ($form_state with $form['#cache'] = TRUE). Unfortunately, merlinofchaos told me that if I choose that path, it won't be compatible with the Views exposed filters form.
So that means I'm back to where I begun. I essentially wasted an entire day because of the crappy documentation for D6 FAPI (equally crappy as D5's) and because some forms won't work when #cache = TRUE. Yay.
Comment #46
wim leersBecause I'm keeping virtually all D5 code, less changes had to be made.
It's already working! When the Taxonomy implementation is fully operational, I'll post the patch.
Comment #47
wim leersFirst patch. Is against RC1.
So far only the taxonomy module is compatible, and only partially. Only its config form and the taxonomy term form's 'parent terms' and 'related terms' form items are using Hierarchical Selects.
Comment #48
Rob T commentedFrom purely a spectator's standpoint, I think HS should be in core. The functionality of Hierarchical Select filled a huge hole in the Drupal experience, and I think it's time that future Drupal development takes HS's features into account.
Wim, you're fairly "connected" in Drupal dev circles. What type of feedback do you get regarding Hierarchical Select? Am I the only person who mentions core with regards to this module, or do others also agree that your module is a UI gamechanger?
Regardless, thanks again for your work and regular updates.
Comment #49
wim leersRob, several "decision makers" are interested in getting HS into core. At this point, I don't think the code is clean/simple enough yet, but that's for a large part due to FAPI: I have to go through a lot of weird, painful constructs to get it working.
I will definitely try to get it in D7 core :)
Comment #50
sammys commentedsubscribing
Comment #51
nirvanajyothi commentedNo doubt abt wat Rob Ts saying.It will be wonderful to have HS in core.
Comment #52
wim leersChasing HEAD. Taxonomy term selection in node forms is working too.
I found another bug in the 5.x version, so I'll fix it there and re-roll the patch again.
Comment #53
wim leersIt looks like I'll be making more improvements in the D5 version first. I also made a lot of changes to the D5 version while I was porting the code, mostly bad comments, but also bugs/weird code. I've attached my latest D6 code in .zip format so you can at least use that.
Comment #54
nirvanajyothi commentedI'm an inexperienced guy here.So Wim,can you release a 6.x dev...So that i can start testing it.
Thank you.
Comment #55
wim leersEhm. No. Only when the D5 version is finished. That's why I posted a .zip, just use that instead ;)
Comment #56
nirvanajyothi commentedThere were 2 folders in the zip above.I installed the hierarchial select folder(other folder is MACOSX)
HS modules appeared in modules page and there are many new ones too of which only HS and HS Taxonomy can be activated.Others show This version is incompatible with the 6.3 version of Drupal core.
I activated the available 2 .But And when i go to my Taxonomy page and click on edit vocabulary ..the error is displayed on a blank page
Fatal error: Call to undefined function dpm() in C:\wamp\www\Drupal 6ix\sites\all\modules\hierarchical_select\hierarchical_select.module on line 345
What has to be done?
Comment #57
wim leersHah. That's the debug output :) Either disable "DEVELOPER_MODE" at the top of the file or install the devel module: http://drupal.org/project/devel.
Comment #58
nirvanajyothi commentedok.That one is solved.Thank you Wim,
And the HS configuration page is really Superb.THe 'Preview' option is very useful and helps to save time.Thanks for adding that.
But for me ,though its working in the 'Preview' .there seems to be no change in the content submission form.I added 'help Text' and it is appearing corectly in the contet submission form and still the vocab selection is not taken over by HS.its still the core way.
Is there anything i need to do?
(I dont know whether its a problem with my config..or i have missed some thing.
i activated HS for the content type
[]Use the Hierarchical Select form element for this vocabulary.
And The selection apperars to work well in the preview as i said.)
Comment #59
wim leersYour vocabulary is not yet hierarchical probably.
Comment #60
nirvanajyothi commentedit is hierarchial and works well in the 'preview' in the HS config page
Comment #61
sammys commentedThanks for rolling a zip for the D6 port. :) I've been playing with it and here are my findings.
D6 is working for both taxonomy and a custom implementation. I needed a custom implementation because I need to have multiple selection widgets each starting on one of the top-level terms of the hierarchy. Unfortunately, hs_taxonomy didn't allow me to supply the root parent in $params['tid'].
I looked at hs_content_taxonomy and while it did accept $param['tid'] in the config, it had a small issue._hs_content_taxonomy_term_within_allowed_depth(), which is used in hook_..._valid_item(), doesn't currently determine whether $item is a child of $param['tid']. Is this a bug or feature? :) My desired depth is zero.
Comment #62
Rob T commentedMore thanks for rolling the .zip file of this functional version for D6. I managed to get it working for taxonomy (it took a few manipulations to get it right).
I disabled DEVELOPER_MODE, which got rid of the
Fatal error: Call to undefined function dpm() in ...hierarchical_select/hierarchical_select.module on line 345.
Just an FYI that the Implementation tab in HS settings yields:
Call to undefined function _module_parse_info_file() in ...hierarchical_select/hierarchical_select.admin.inc on line 114.
So far, I have been able to use this young version for what I need it for. Thanks again, Wim.
Comment #63
wim leerssammys: Likely a bug then. Care to roll a patch? :) In any case, please create an issue for it!
Rob T: The developer_mode thing was documented and the other thing is a D5->D6 API change probably :) Thanks for reporting it here!
Comment #64
Rob T commentedI'm running into the same issue nirvanajyothi had.
Intially, after some semi-random configuration changes, I was able to get HS working for a vocabulary. I have since applied that other vocabulary to an additional content type, and "poof", I can no longer get HS working for my content types.
The preview works fine, (like nirvanajyothi), but once it's time to add or edit one of the content items, the form goes back to Drupal core's PIA select box.
UPDATE:
I cleared the cache (performance), and resubmitted my "list terms" page, and the HS reappeared as intended.
UPDATE 2: I had another instance where the taxonomy HS disappeared from the content type. I had changed an HS property - the "create new item" feature... I turned that off, and when I went back to my content type, the HS had reverted to Drupal's core select box. Again, I cleared the cache, then I resubmitted that vocabulary's "list terms" page, and the HS reappeared again.
Comment #65
Rob T commentedAnother issue in D6 version...
If the Hierarchical Select is set to save only the deepest term, and is later switched to term lineage, nodes with terms already selected lose those associations, at least when editing such a node. Kinda spooky.
Comment #66
maryts23 commentedHi there, I've installed the zipped version of Hierarchical Select for drupal 6, im very pleased to see that this module is progressing for Drupal 6. Isn't hierarchical select suppose to display a dropdown list with the parent terms and then display another dropdown with the children terms, something similar to "Related Terms in the configurations? Why isn't it doing it?
Comment #67
marius.s commentedWim,
great module, the demo looks stunning.
Waiting for Drupal 6 version.
Marius
Comment #68
kcmongoose commentedsubscribing - this should definitely be core. Can't wait to use the first released version on 6.x.
Comment #69
capellicWow, amazing! The config screen is really great. A lot of effort has been put into the UX - much appreciated.
I am also having problems getting HS to show up on my content type form. Just like nirvanajyothi, I can see the preview just fine but when it comes to adding content, no luck.
I have also bee clearing Drupal cache and browser cache - it doesn't help.
I am curious to know what others have done to get this to work. They have mentioned "random" configuration changes, but any clues as to what those were would be helpful.
I have attached (in two parts) my configuration settings for a very simple taxonomy structure which looks like this:
AAA
- A1
- A2
BBB
- B1
- B2
I see that it HS is successfully working in the "Advanced options" section of the "add terms" page. That screenshot is also attached.
I have also attached an array output I saw at the top of the screen once when adding a new node of the content-type I had applied my HS taxonomy to. I tried to reproduce it, but couldn't find it.
Yet another attachment is the array structure I am seeing when I go to the taxonomy list page (admin/content/taxonomy/list).
Comment #70
tebb commentedSubscribing.
Comment #71
maryts23 commentedI don't mean to be annoying, but is there any progress with Hierachical Select for Drupal 6 Wim? It's an awesome tool and it's a MUST for Drupal's core. If at least tell us it's progress!!!
thx in advance!!
Comment #72
toma commentedSubscribing
Comment #73
ogi commentedsubscribe
Comment #74
chasz commented+1
Comment #75
bensnyder commented+10000
Comment #76
scottrigbyHi Wim, two questions about this initial port so far:
1. does this initial port support Hierarchical Select for menu parent selection?
2. is it possible to use HS in combination with Node reference? (e.g., is it possible to use the existing menu hierarchy to form the node reference hierarchy level?)
* The site is D6, using the Primary Links menu to create a 4 or 5-level hierarchy for nodes.
* We will have primary links menu tree completely set up in advance, and then allow employees to add new nodes to the bottom level menu items.
* We want to make selecting a new node's place in the hierarchy as simple as possible for the user, so Hierarchical Select seems ideal rather than having employees scroll through hundreds of nodes.
* The reason that we wouldn't just show the bottom level menu items in the node reference field is that some of those have the same name... So the only way to distinguish those bottom-level items from one another is by their parent (or grandparent etc).
It would be great if we could use hierarchical select to filter a node reference form field based on their menu hierarchy :)
Thanks in advance for your advice on this!
Scott
Comment #77
wim leers1. No.
2. No. You can sponsor this if you really want, or if you want it soon (as in: in less than 2 months or longer). Just porting to D6 itself will be plenty of work already…
Comment #78
scottrigbyunderstood - i was mainly wondering about existing functionality - it sounded like maybe this was possible in the 5.x version but even that I'm not totally sure about. Thanks for letting me know... good luck with the port! Cheers -- Scott
Comment #79
wim leersI'll be working on this during the code sprint today. Hopefully I can make substantial progress!
Comment #80
wim leers@People having problems with HS not showing up on the node/add/whatever form, it's because you installed it in the modules directory. DON'T do that, it's EVIL.
@All: DON'T use this D6 port if you don't consider yourself an advanced user of HS already. Support requests like these slow me down in my work, because they're not bugs, but mistakes.
At a later stage, when it's almost ready, thus ready for beta testing, then everybody can test.
Thanks for your understanding.
Comment #81
gagarine commentedI installed the module in /site/all/modules but HS not showing up on my node/add/whatever form. I test all the tricks of these thread but without success...
EDIT: ok, I add ONE content for my content type that i would like use with HS and HS work :) YEAH!
Comment #82
francewhoaSubscribing. I'll provide testing. Thanks Wim for posting ZIP files I'll use that for my testing.
Comment #83
francewhoaHere are my testing results with hierarchical_select.zip (#53). Hope this testing help.
The good news:
The bad news:
In preview box when selecting a Root level the Sublevel 1 isn't displaying. Expected result is when user select chapaspoc the Sublevel 1 should appear on the right side. (Attached video 2a_vid_preview.zip & screenshots for various HS settings). [Preview box is located at: Administer > Content management > Taxonomy > Hierarchical Select configuration > Preview.]Same as Rob T clicking Implementations button return error. Expected result is to be directed to Implementations page. [Implementations button location: Administer > Site configuration > Hierarchical Select > Implementations button.]Attached screenshots (2g_settings_hs_config.png & 2h_settings_hs_implementations.png).
Testing with a Drupal 6.4 fresh intall and Devel 6.x-1.10 to quickly generate dummy taxonomy, CCK 6.x-2.0-rc6, jQuery Update 6.x-1.1, Content Taxonomy 6.x-1.0-beta3. HS is install into /sites/all/modules instead of modules directory. I consider mysef an advanced user of HS using & configuring it often since version 1. Using hard refresh, clear Drupal cache and browser cache before each test.
The following are notes to myself for future testing reference:
Comment #84
gagarine commentedFor the problem in the Implementation tab in HS settings yields:
"Call to undefined function _module_parse_info_file() in ...hierarchical_select/hierarchical_select.admin.inc on line 114."
So in line 114 in the file .hierarchical_select/hierarchical_select.admin.inc
Replace the line
by
@Onopoc
In attachment a archive with this little correction and debug message disabled.
You find here http://drupal.org/node/60108 how you can apply a patch.
EDIT: @Onopoc oups we have posted comment in the same time lol
Comment #85
good_man commentedHey Wim,
First I want to say a big thank for your great efforts. Then I have a question, Is it a normal port to v6 or it needs more than that. I mean if I used Coder and just replaced the deprecated and added the new methods, is that enough?!
Thanks again
Comment #86
wim leersOnopoc: I'm sorry, but half of that was useless. See #79:
I've made progress, but it wasn't ready yet, so I didn't post it yet, but you, my friend, tested using the outdated port. Of course there are no improvements!
Luckily, the other half IS useful, so it wasn't a waste of your time either :) By the way, your "good news" is not new, it's been in HS 3 for quite some time now :)
gagarine: thanks, will fix that.
All: PLEASE wait with testing/commenting until the next .zip :) That's more effective for everybody! The next update wil have menu system support, yarrr!
Comment #87
francewhoagagarine: Thanks for the patch #84. It works. Issues 2 & 3 are fixed.
Wim: Ok I'll wait with testing until you decide that a new .zip is ready for testing. Thanks.
Comment #88
N.Simpson commented+1
Comment #89
good_man commentedany news Wim? do you need any help?
Comment #90
wim leersI'm on a vacation right now. Will be back on Friday. Expect a new version on Monday.
Comment #91
good_man commentedHappy vacation Wim and sorry for annoying ...
Comment #92
wim leersNew version. Working menu implementation. 90% of the work on the menu implementation has been done during the code sprint.
The patch is massive by now. 80 KB. Patch is against current HEAD.
I beat my deadline by 2 days, yay :)
Comment #93
nirvanajyothi commentedThanks a lot for this,friend!
Hope you had a great time on vacation!
Comment #94
good_man commentedsounds good, really good I'll try it now and can't wait for the next release.
Comment #95
illuminaut commentedsubscribing
Comment #96
francewhoaHere are my testing results with hierarchical_select.zip (comment #92). Hope this testing helps.
The good news:
The bad news:
Attached screenshots (2_Fatal_error_implementations1.png & 2_Fatal_error_implementations.png).
Testing done with:
Note to myself for future HS testing:
Comment #97
Eli Baskin commentedSubscribing.
Looks like a module I have long been waiting for. Waiting for D6 to be finished. I wish I had money to speed it up :)
Comment #98
adik commentedHello!
Is it possible to make integration between hierarchical select and taxonomy browser?
Thank!
Comment #99
Jeff Burnz commentedBookmark
Comment #100
scottrigbyHi Wim,
I've tested #92
Fantastic ;)
One thing that I noticed (not exhaustive testing, but hopefully this helps):
* For taxonomy vocabularies, the option to 'Reset selection of hierarchical select' does not work properly with the option to 'Force the user to choose a term from a deepest level'.
- What happens is... after the first deepest level term is added to the drop box, HS resets to the root term - but it's children do not show anymore (unless you navigate to a different term, and then back). So the result is the user can select the root term (not forced to select only the deepest level).
Also, I wonder whether something has been worked on yet or not? (I would like to help test, but not sure if it's ready yet):
* Is the HS 6 port able to work with exposed views filters (I wasn't able to see where to configure this if so)?
Also, an installation Question:
* I don't have jquery_update installed in my test site, and seems to be ok - but is that necessary for this 6.x version?
Comment #101
root_of_roots commentedTesting and subscribing to the discussion.
Cheers,
-ROR
Comment #102
wim leersPlease don't change the title
Comment #103
mrfelton commentedtracking, thanks
Comment #104
root_of_roots commentedPlease don't change the title
Sure. Sorry.
I thought that it would be a better title and people would immediately know what it referred to (i.e. in the tracker).
Cheers,
-ROR
Comment #105
ianchan commentedsubscribing
Comment #106
wim leersTo the people tracking this: I haven't forgotten about this, but university has started again, immediately with insane amounts of work, preventing me to work on this.
I hope to continue working on this in 1/2 weeks.
Comment #107
mrfelton commentedhow many people are actively developing this project? Any ideas when the code move from this thread to a dedicated -dev release?
Comment #108
wim leersI'm the only one.
As soon as the next (last) RC of the 5.x version is out, I will make a 5.x branch, and then this will be committed to HEAD, resulting in a 6.x-dev release. That'll be in about the same timeframe, but hopefully sooner.
Comment #109
upupax commentedsubscribing
Comment #110
cerber0s commentedsubscribing
Comment #111
wim leersStatus update!
The DRUPAL-5--3 branch has been created. This means I'll be able to commit this patch and will be able to provide you with dev tarballs.
As I'm *extremely* busy because of school, it's unlikely I'll be able to continue working on this seriously in the next few weeks. I should be able to get the most blatant problems fixed in that same timeframe though. That means you'll actually be able to use HS reliably in D6, although the number of supported implementations will remain limited for quite some time. However, you could update those implementations yourself, as the API is entirely documented (and will receive more documentation soon-ish).
I will first focus on the "launch" of Hierarchical Select 3 for Drupal 5.
Comment #112
scottrigbyGreat!
Out of curiosity (and because it's important for one site I'm working on), will the 6 port able to work with exposed views filters?
I wasn't able to see where to configure this in #92, but I may have just missed where to configure this?
Knowing what to plan on would be a big help.
Cheers :)
Scott
Comment #113
wim leersExposed filters won't be supported soon. Views 2 is a very different beast. I hope somebody else will step up and work on that.
Comment #114
arhak commentedsubscribing
Comment #115
zmove commentedsubscribing
Comment #116
break9 commentedsubscribing
Comment #117
Ali Imtiaz commentedWhile trying to port this module I came across this line 600 of [i]hierarchical_select.module[/i]:
Line 600: Changes to cache_set() parameter order (Drupal Docs)
[code]
cache_set($hs_form_build_id, 'cache', serialize($storage), $expire);
[/code]
I had a look at Drupal docs (http://drupal.org/node/114774#cache-set-parameter-order) but couldn't relate the example to the stuff above.
Any one knows a way around this?
Kind Regards,
Ali Imtiaz
Comment #118
Jiou commentedSubscribe
Comment #119
AgentD commentedSubscribing.
Comment #120
henrijs.seso commentedIm not a coder, so dont trust me!
From that example i would think i need to remove 'cache' part and MAYBE change order of elements in brackets.
or
Comment #121
Anonymous (not verified) commentedsubscribing
Comment #122
Danial Namousi commentedsubscribing
Comment #123
mrfelton commentedI have an HS element in a block which displays on the sidebar of my site. When I use the site search form, the HS element in my block stops working properly on the search results page. It seems to think that JavaScript is not enabled, probably because it errors on the JavaScript at hierarchical_select_formtoarray.js, line 31:
the error as reported by Firebug is:
el is nullComment #124
wim leersHrm, that's not my code, but a portion of the code of the jQuery Form plugin. I might have to update that as well.
Comment #125
reinholdlange commentedsubscribing
Comment #126
ThePiano.SG commentedsubscribe
Comment #127
tallsimon commentedsubscribing
Comment #128
VeeLin commentedsubscribing
Comment #129
spydmobile commentedI cant wait for D6 version!
Comment #130
daneyuleb commentedSubscribing
Comment #131
henrijs.seso commentedany good news? when can we start testing?
Comment #132
that0n3guy commentedSubscribing,
The Content taxonomy part of this module is the only thing keeping me from upgrading. I'm currently using the "activemulti" widget found here http://drupal.org/node/180687 but want to upgrade to H.S.
Comment #133
watbe commentedsubscribing
keep up the good work Wim!
Comment #134
afly commentedsubscribing
Comment #135
arhak commentedat #102 Wim asked not to change the title, but #104 is right, would be better to follow this issue having a title which references HS somehow
Comment #136
wim leersFair enough. Makes it easier for everybody who's following this issue I guess :)
Comment #137
that0n3guy commentedHey Wim,
Hows progress on the Content_taxonomy widget going? I am not a coder but sent it through deadwood to see If I could get someplace... Got an error.... and coder didnt show anything weird about it. Would any of this help you?
Also, what kind of $$ would help you accelerate your work? I know I'd be willing to pitch in and I'm guessing others would also.
Comment #138
wim leersNo money would help. The only reason for this being … well, frozen … for now is that I'm absolutely flooded with university work. See my blog post about this: http://wimleers.com/blog/how-much-is-too-much.
Comment #139
that0n3guy commentedI see, so maybe my question should be, what kind of homework do you need for us to do :)... j/k
I know school can be a killer so I understand.
Comment #140
jlevis commentedsubscribing
Comment #141
Coupon Code Swap commentedSubscribing. Looking forward to Drupal 6 version :)
Comment #142
adaven commentedsubscribing
Comment #143
rmjiv commentedWe've been testing out the zip from #92 and found a moderately troublesome issue.
We have a hierarchical taxonomy where some terms have multiple parents. When we try to use HS on those terms, there is a display issue where the term with multiple parents is shown twice in the hierarchy (see attachment).
Additionally, with these terms you can't associate a node with the child of a term with multiple parents. You can select it, but when you click add it adds its immediate parent (i.e., the term with multiple parents).
Comment #144
Flying Drupalist commentedsubscribe
Comment #145
Kudja commentedDrupal 6.6 Preview works great, but in any material creation nothing happens. installed from #92
Comment #146
3duardo commentedsubscribing
Comment #147
zmove commentedsame than #145
Comment #148
andb commentedSubscribing
Comment #149
stoney commented+me
Comment #150
adam_b commentedsubscribing
Comment #151
bonobo commentedApologies for any folks receiving automated emails: subscribing.
Comment #152
liliplanet commentedsubscribe for v6
Comment #153
losionok commentedPorted hs_content_taxonomy for 6.x core (using init port from #92)
1) copy/overwrite files from archive to ./hierarchical_select/modules/ directory.
2) enable module in admin
3*) strongly recommended patch http://drupal.org/node/319724
Comment #154
wim leersWOOT, thanks losionok! There couldn't be a better time, because … I've found the time to update that patch. Working on it as we speak.
It seems you did forget to attach the archive you mention though :)
Comment #155
wim leersLook at that version! :)
See the liberating commit.
I will now process the bug reports in this issue. New bug reports should be reported as separate issues.
Comment #156
wim leersOh and this was the final patch that I committed.
Comment #157
that0n3guy commentedGreat Job, Thanks for finding a little time to work on this even with your busy schedule. I'm excited about this.
Comment #158
losionok commentedups =)
Comment #159
that0n3guy commentedInitial test:
I just installed the head version of HS using drush.
Then went to the hs/modules directory and extracted the zip in #158
I enabled HS first.... no problems... then I enabled the other 3: hs menu, hs taxonomy, and hs content taxonomy and I get this error:
This is on Acquia Drupal.
Comment #160
zmove commentedI have errors too on the latest d6 version :
I created this issue about it.
Comment #161
wim leers#93
This is because an internal API of Drupal core has changed. Fixed now.
GREAT catch! I lost half an hour tracking down the cause without success, unless I noticed that scottrigby's feedback (#100) was about the exact same thing. And … yes … this is also a bug in the Drupal 5 version! I guess nobody has tried this combination of settings before.
I haven't fixed this one yet, but I did create an issue: http://drupal.org/node/341881.
This has been fixed in the Drupal 5 version of HS, and therefore also for the D6 version. You can see it right here: http://wimleers.com/demo/hierarchical-select/taxonomy.
#100
See reply to #93.
This is not yet supported.
This isn't necessary. I've updated the README to reflect this. Thanks!
#143
This is pretty much impossible. Taxonomy hasn't changed in Drupal 6. In Drupal 5, this works just fine. You *must* enable save_lineage though, otherwise it's impossible to restore the lineage upon view or edit. But your screenshot shows a messed up HS, which definitely seems impossible to me.
#145
It works just fine here. If you can still reproduce the issue with the current version, please report this as a new issue.
losoniok
Thank you very much for your work on hs_content_taxonomy! Much appreciated :)
I will review it ASAP. Would you mind creating a new issue for it? That's easier for other interested people to subscribe too instead of this enormous issue!
Comment #162
nirvanajyothi commentedWoow!
Thank you Wim Leers, losionok and all for the dev version.
The long wait will now soon end!
-thank you
Comment #163
Renee S commentedI'm getting the following message:
This version is incompatible with the 6.6 version of Drupal core.Which is weird 'cause I can't see anything in the info files that would cause that...
Comment #164
Renee S commentedFound it - in the .info files, the format is wrong, eg:
-dependencies = hs_content_taxonomy_views content_taxonomy
+dependencies[] = hs_content_taxonomy
+dependencies[] = content_taxonomy
Comment #165
Renee S commentedMore bugs in 6.6 - it doesn't look like the module has been updated to work with the latest Views, I'm getting errors about the view_view table (which is now views_view) and it's being rude about views_load_cache() as well. Not quite sure what's going on, but neither taxonomy or content_taxonomy modules work!
Comment #166
wim leers@z allen: I replied to your other issue. Cross posting is not appreciated. The README clearly states that those modules haven't been ported yet, and that's also why you were getting those warnings ;)
Comment #167
Renee S commentedD'oh. Somebody needs to create a USB device that reaches out and smacks people on the hand just before they hit "submit."
Comment #168
that0n3guy commentedHa, like this http://www.thinkgeek.com/geektoys/warfare/8a0f/
:)
Comment #169
wim leersthat0n3guy: OH MY GOD /me wants
Comment #170
yanivnizry commentedSubscribing
Comment #171
Radiating Gnome commentedsubscribing with whipped cream and a cherry on top.
Comment #172
liliplanet commentedHi,
Have just installed the attached zip for HS Content Taxonomy and receive error:
warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/mysite/public_html/sites/all/modules/hierarchical_select/modules/hs_content_taxonomy.module on line 42.
Perhaps I should wait for the full update of HS for Drupal 6.6?
Thank you for your module!
Lilian
Comment #173
watbe commentedYou should try the current 6.x-dev version now that its official
Comment #174
liliplanet commentedThank you watbe for your quick reply.
Yes, I have downloaded latest version, but Hierarchical Select Content Taxonomy has error 'This version is incompatible with the 6.6 version of Drupal core.'
The above zip is compatible, but ..
warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/mysite/public_html/sites/all/modules/hierarchical_select/modules/hs_content_taxonomy.module on line 42.
Look forward to any news, and thank you.
Lilian
Comment #175
watbe commentedIts not ready for use yet from what I know, but I may be wrong. Its probably best to start a new issue, as this is getting really really long.
Comment #176
VeeLin commentedI get the same error and believe it's a known issue.
Comment #177
Renee S commentedThe "incompatible" is due to an error in the format of the dependencies declaration in the .info files, I posted a fix a few comments back...
Comment #178
Flying Drupalist commentedGrr everyone stop posting in this issue. A beta is out, if you have a problem make a new issue!
Comment #179
that0n3guy commentedQuote: OH MY GOD /me wantsHa, they had those on woot.com a while ago for cheap... but I didnt get one... I'm such a loser :).
Comment #180
chandubhai commentedHello Wim,
comment on zip provided in comment #158
I have installed zip provided there of content taxonomy but it is giving me some errors on field configuration settings
1)
hs_content_taxonomy_common_config_form_submit() function has
drupal_execute('_content_admin_field', $form_state['values'], $field['type_name'], $field_name);
it is creating following error :-
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_content_admin_field' was given in /var/www/test/includes/form.inc on line 366.
2)
And after saving node i get ......
* warning: array_unshift() [function.array-unshift]: The first argument should be an array in /var/www/test/sites/all/modules/hierarchical_select/modules/hs_content_taxonomy.module on line 44.
* warning: array_unshift() [function.array-unshift]: The first argument should be an array in /var/www/test/sites/all/modules/hierarchical_select/modules/hs_content_taxonomy.module on line 45.
* warning: Illegal offset type in isset or empty in /var/www/test/matri/modules/taxonomy/taxonomy.module on line 1015.
* warning: Illegal offset type in /var/www/test/matri/modules/taxonomy/taxonomy.module on line 1016.
* warning: Illegal offset type in /var/www/test/modules/taxonomy/taxonomy.module on line 1019.
* warning: Illegal offset type in isset or empty in /var/www/test/modules/taxonomy/taxonomy.module on line 1015.
* warning: Illegal offset type in /var/www/test/modules/taxonomy/taxonomy.module on line 1016.
* warning: Illegal offset type in /var/www/test/modules/taxonomy/taxonomy.module on line 1019.
Please help me fixing this error...
Chandu
Comment #181
Daniel A. Beilinson commentedAny plans to port HS to Drupal 6.8.?
Hierarchical Select Book 6.x-3.x-dev Use Hierarchical Select for selecting the parent page of a book page.
This version is incompatible with the 6.8 version of Drupal core.
Hierarchical Select Content Taxonomy 6.x-3.x-dev Use Hierarchical Select as the widget for Content Taxonomy CCK fields.
This version is incompatible with the 6.8 version of Drupal core.
Hierarchical Select Content Taxonomy Views 6.x-3.x-dev Use Hierarchical Select for Content Taxonomy exposed filters in Views.
This version is incompatible with the 6.8 version of Drupal core.
Hierarchical Select Flat List 6.x-3.x-dev Allows Hierarchical Select's dropbox to be used for selecting multiple items in a flat list of options.
This version is incompatible with the 6.8 version of Drupal core.
Hierarchical Select Taxonomy Subscriptions 6.x-3.x-dev Use Hierarchical Select for Taxonomy Subscriptions.
This version is incompatible with the 6.8 version of Drupal core.
Hierarchical Select Taxonomy Views 6.x-3.x-dev Use Hierarchical Select for Taxonomy exposed filters in Views.
This version is incompatible with the 6.8 version of Drupal core.
Comment #182
ColoMondoMan commentedSame as #145(preview looks great though!) - subscribing. Upon further inspection - Taxonomy adding new terms to a vocabulary uses the HS module. Very cool - can't wait to use it for my custom content type. Thanks Wim!
Comment #183
Mark Theunissen commented@La_ntegral, @chandubhai > Please use the dev version and make a new issue.
I am going to try port one or two of these as necessary, will make or post in the relevant issues.
Comment #184
dejamuse commentedThis looks like the module I need, but need some advice:
I have a CCK form (D6) for entering data for a real estate site, eg, info about a particular condo building. I use content_taxonomy for this in general, when the number of terms is reasonable, but in one particular case, selecting country -->province -->district -->town, the final list of "town" for the entire country has thousands of entries (obviously gets completely untenable with multiple countries), so therefore I need a way of narrowing the hierarchical choices, by parent, and populating all the respective fields in the form with all of the sub-category choices in the hierarchy.
Lots of websites use this functionality, particularly sites that have large catalogs of stuff to wade through. In the past this was all done with page refreshes, but that's old school. I just need a way to select a chain of terms in some way so as not to have to look through a list of 5000 towns in a hierarchical menu. I could I suppose resort to the "auto-complete" technique, but prefer a drop down list.
Is there any other way to accomplish this, or is this more obvious to do than a newbie like me can presently discern?
Tnx, Jeff
Comment #185
Mark Theunissen commentedPlease make a new support request. This topic is closed.
Comment #186
sullyman commentedJust installed the 6.x-3.x-dev on 6.9 and have lost access to administrator section. Had to go back through browser and disable HS modules
Comment #187
Renee S commentedsullyman: already reported here: http://drupal.org/node/345951
Comment #188
ari-meetai commentedgreat. Subscribing.
Comment #189
Eli Baskin commentedAnything new on the porting side?
Comment #190
wim leers#189: it's been ready to use for months now. Just give the 6.x-dev snapshots a try :)
Comment #191
nirvanajyothi commentedHi Wim Leers,
It has been long! Is there a reason why this module has no alpha version yet?
-Thank you.
Comment #192
AdrianB commented#190: Then maybe the HS module description should reflect that the 6.x-dev is ready for use? I'm new to HS and had to search a while until i found this closed issue.
(A release in alpha or beta would be even better, I generally try to stay away from dev version.)
Comment #193
bonobo commented@Wim Leers -- I'd support you locking this thread for further comments -- say the word, and I'd be glad to do it --
@ people commenting on this issue -- the port is well under way, and has been for a while. Grab the dev version, test, report bugs, etc -- but please, refer to #190, #185, #161, etc.
Comment #194
SethM commentedDownloaded the zip in #158, installed. When I went to the HS config form provided in the CCK field options I got this error:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_content_admin_field' was given in /home/.esprit/fsmadmin/clients/SAP/includes/form.inc on line 366.
Comment #195
arhak commented@freeStyle_Media: please open a new issue, since this thread is already closed