Port Hierarchical Select to Drupal 6

Roxpace - March 10, 2008 - 13:08
Project:Hierarchical Select
Version:6.x-3.x-dev
Component:Code - Content Taxonomy
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Are there no plans to upgrade this to Drupal 6.1 / 6.0 ?

I know Views is not yet released, but there are an alpha release of it and it would be wonderful to see it closing Drupal 6.x path.

Sincerely
Roberth Andersson

Administrator/Developer @ Jump-Gate and Webworqs, Inc
Personal page: http://www.roberth.se and Jump-Gate Projects site: http://www.jump-gate.com

#1

Wim Leers - March 10, 2008 - 13:12

There 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.

#2

Wim Leers - March 11, 2008 - 15:05
Title:Update for Drupal 6 ?» Update for Drupal 6?
Status:active» postponed

#3

Wim Leers - March 11, 2008 - 15:05
Title:Update for Drupal 6?» Port to Drupal 6

#4

Rob T - April 23, 2008 - 16:28

This 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?

#5

Wim Leers - April 23, 2008 - 16:46

First 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?

#6

Rob T - April 28, 2008 - 20:12

It 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.

#7

Wim Leers - April 28, 2008 - 21:26

Very 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.

#8

Rob T - May 5, 2008 - 18:03

HS3 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.

#9

Wim Leers - May 5, 2008 - 18:13
Version:5.x-2.x-dev» 5.x-3.x-dev
Assigned to:Anonymous» Wim Leers

Personally, 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.

#10

Rob T - May 5, 2008 - 18:59

I agree that it makes sense on a micro level.

An FYI regarding my statement in #4 above...

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.

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.

#11

nirvanajyothi - May 11, 2008 - 17:12

Hi 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.

#12

seals - May 15, 2008 - 22:44

subscribe

#13

Rob T - May 20, 2008 - 21:59

I'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.

#14

Wim Leers - May 20, 2008 - 22:11

I'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 :)

#15

nirvanajyothi - June 9, 2008 - 13:52

come 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

#16

Wim Leers - June 10, 2008 - 21:59

Copy/pasted from somebody who e-mailed me with the same question:

The reason for the delays is simply a lack of time on my side. Three big school projects (with one still being worked on, due for Friday) and exams starting next Wednessday, I'm sure you'll understand it's VERY hard to do any work on HS. I haven't had ANY free time during the past 6 weeks or so: haven't been out a single time.

Thanks for your understanding ;)

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.

#17

Rob T - June 11, 2008 - 15:09

Kick 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.

#18

Hyper - June 22, 2008 - 12:29

I'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.

#19

Rob T - June 24, 2008 - 03:28

I'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.

#20

nirvanajyothi - June 25, 2008 - 10:35

It 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.

#21

Wim Leers - June 25, 2008 - 10:48

Yes, 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.)

#22

nirvanajyothi - June 28, 2008 - 09:18

All 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

#23

Wim Leers - June 28, 2008 - 10:33

nirvana4ever: 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).

#24

nirvanajyothi - June 28, 2008 - 14:55

ok.but are there sites running on 10,000 taxonomies?thts huge!

#25

Wim Leers - June 28, 2008 - 15:14

Not 10,000 taxonomy, 10,000 terms in a single vocabulary. I've heard of ones with +- 50,000 as well.

#26

nirvanajyothi - June 28, 2008 - 15:43

thts 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!

#27

faunapolis - June 29, 2008 - 22:23

subscribing:)

#28

nirvanajyothi - June 30, 2008 - 02:28

Hi 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.

#29

Wim Leers - June 30, 2008 - 07:49

Work 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 ;)

#30

nirvanajyothi - June 30, 2008 - 15:49

I know.I expected the same.

what abt the country functionality?Can that be added.

#31

Wim Leers - June 30, 2008 - 16:23

Country? You can already do that with taxonomy. Perhaps you mean location CCK field support?

#32

nirvanajyothi - July 1, 2008 - 07:50

yes...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?

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

#33

Wim Leers - July 1, 2008 - 07:59

So you meant Location CCK field support, then? Still not entirely clear. Anyway, the answer to that question is yes, that's coming!

#34

nirvanajyothi - July 1, 2008 - 08:06

have added HS to Contributed modules status - version 6.x at
http://groups.drupal.org/node/5036

Please make any changes as appropriate.

#35

nirvanajyothi - July 4, 2008 - 17:40

lub dub......lub dub...lub dub..lub dub..the beat is gaining speed...please surprise me!

please....

#36

nirvanajyothi - July 5, 2008 - 17:10

waited long...ready to wait longer!

because really love HS.
All the best with the work.

#37

EyeChartBrew - July 8, 2008 - 04:17

Subscribing. :)

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

#38

Wim Leers - July 8, 2008 - 08:40

There'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.

#39

nirvanajyothi - July 8, 2008 - 14:38

k.i trust that.

#40

hamaldus - July 9, 2008 - 16:08

dum dum di da.. Exellent module:)

#41

nirvanajyothi - July 13, 2008 - 06:34

whats happenin leers....stuck with sumdin...am really anxious ...

#42

nirvanajyothi - July 14, 2008 - 16:45

Chk out the drupal download statistics for Drupal.Drupal 6 is gonna have many more users I feel.
http://buytaert.net/drupal-download-statistics-2008

#43

Wim Leers - July 16, 2008 - 23:26
Status:postponed» active

As 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.

#44

nirvanajyothi - July 17, 2008 - 09:27

k 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.

#45

Wim Leers - July 17, 2008 - 16:42

I 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.

#46

Wim Leers - July 17, 2008 - 22:04

Because 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.

#47

Wim Leers - July 18, 2008 - 00:40
Status:active» needs work

First 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.

AttachmentSize
d6port.patch 59.42 KB

#48

Rob T - July 18, 2008 - 05:06
Status:needs work» active

From 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.

#49

Wim Leers - July 18, 2008 - 07:45

Rob, 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 :)

#50

sammys - July 18, 2008 - 08:47

subscribing

#51

nirvanajyothi - July 18, 2008 - 09:17

No doubt abt wat Rob Ts saying.It will be wonderful to have HS in core.

#52

Wim Leers - July 18, 2008 - 15:52
Status:active» needs work

Chasing 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.

AttachmentSize
d6port.patch 67.54 KB

#53

Wim Leers - July 20, 2008 - 00:13

It 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.

AttachmentSize
hierarchical_select.zip 162.67 KB

#54

nirvanajyothi - July 20, 2008 - 14:49

I'm an inexperienced guy here.So Wim,can you release a 6.x dev...So that i can start testing it.

Thank you.

#55

Wim Leers - July 20, 2008 - 15:09

Ehm. No. Only when the D5 version is finished. That's why I posted a .zip, just use that instead ;)

#56

nirvanajyothi - July 21, 2008 - 10:09

There 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?

#57

Wim Leers - July 21, 2008 - 10:33

Hah. 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.

#58

nirvanajyothi - July 21, 2008 - 13:51

ok.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.)

#59

Wim Leers - July 21, 2008 - 16:44

Your vocabulary is not yet hierarchical probably.

#60

nirvanajyothi - July 21, 2008 - 17:30

it is hierarchial and works well in the 'preview' in the HS config page

#61

sammys - July 22, 2008 - 00:30

Thanks 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.

#62

Rob T - July 23, 2008 - 21:30

More 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.

#63

Wim Leers - July 23, 2008 - 21:46

sammys: 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!

#64

Rob T - July 29, 2008 - 02:56

I'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.

#65

Rob T - July 29, 2008 - 18:56

Another 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.

#66

maryts23 - July 31, 2008 - 12:28

Hi 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?

#67

marius.s - August 19, 2008 - 21:56

Wim,

great module, the demo looks stunning.
Waiting for Drupal 6 version.

Marius

#68

kcmongoose - August 21, 2008 - 06:16

subscribing - this should definitely be core. Can't wait to use the first released version on 6.x.

#69

capellic - August 22, 2008 - 13:45

Wow, 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).

AttachmentSize
Taxonomy Settings pt 1 91.81 KB
Taxonomy Settings pt 2 62.66 KB
Advanced Options 46.7 KB
New node array output 3.34 KB
Taxonomy list page array output 2.22 KB

#70

Dru-p - August 24, 2008 - 00:37

Subscribing.

#71

maryts23 - August 25, 2008 - 10:10

I 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!!

#72

toma - August 25, 2008 - 19:17

Subscribing

#73

Ognyan Kulev - August 27, 2008 - 06:10

subscribe

#74

chasz - August 28, 2008 - 15:15

+1

#75

pegleglax - August 28, 2008 - 22:49

+10000

#76

scottrigby - August 29, 2008 - 13:38

Hi 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

#77

Wim Leers - August 29, 2008 - 14:19

1. 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…

#78

scottrigby - August 29, 2008 - 15:58

understood - 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

#79

Wim Leers - August 31, 2008 - 11:28

I'll be working on this during the code sprint today. Hopefully I can make substantial progress!

#80

Wim Leers - August 31, 2008 - 11:42

@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.

#81

gagarine - August 31, 2008 - 17:11

I 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!

#82

Onopoc - August 31, 2008 - 23:56

Subscribing. I'll provide testing. Thanks Wim for posting ZIP files I'll use that for my testing.

#83

Onopoc - September 1, 2008 - 19:44

Here are my testing results with hierarchical_select.zip (#53). Hope this testing help.

The good news:

  • I really like to new Configurations tab on HS setting screen. Plus when I click the action EDIT it brings me to the config box. That's a big time saver. The two other actions EXPORT and IMPORT are fantastic. I can save a set of settings and import them into another Drupal website. Wow. Attached screenshoot (2g_settings_hs_config.png).
  • Preview box is very handy. Thanks for this great new feature.

The bad news:

  1. Seven sub-modules are incompatible with the 6.4 version of Drupal core. This is probably normal and can be ignore since development is in progress for those sub-modules. To reproduce install module hierarchical_select.zip (#53) then visit module admin page. Seven red X will show. Attached screenshot (1_incompatible.png).
  2. EDIT: Fixed with gagarine's patch #84. 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.]
  3. HS not working on node. This is probably normal since the sub-module Hierarchical Select Content Taxonomy can't be activated yet. Attached screenshot (3_not_working_with_cck.png).
  4. EDIT: Fixed with gagarine's patch #84. 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:

  • Run Cron. [Located at Administer > Reports > Status report > run cron manually link]
  • Install module jQuery Update 6.x-1.1
  • Do NOT check Indent child terms with ' - ' signs. [Located at Administer > Content management > cck_conttax > mytaxonomy > Settings for Options.]
  • Maybe clearing Drupal cache. [Located at Administer > Site configuration > Performance > Clear cached data button.]
AttachmentSize
1_incompatible.png 76.31 KB
2a_vid_preview.zip 229.65 KB
2b_settings_taxonomy.png 50.82 KB
2c_settings_edit_vocabulary.png 100.76 KB
2d_settings_content_types.png 49.88 KB
2e_settings_edit_content_types.png 92.76 KB
2f_settings_hs_wide.png 50.4 KB
2g_settings_hs_config.png 42.86 KB
2h_settings_hs_implementations.png 7.08 KB
3_not_working_with_cck.png 46.12 KB
1_incompatible.png 75.49 KB

#84

gagarine - September 1, 2008 - 19:11

For 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

<?php
$module_info
= _module_parse_info_file(dirname($filename) ."/$module.info");
?>

by
<?php
$module_info
= drupal_parse_info_file(dirname($filename) ."/$module.info");
?>

@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

AttachmentSize
hierarchical_select_d6.tar_.gz 127.15 KB

#85

good_man - September 1, 2008 - 19:12

Hey 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

#86

Wim Leers - September 1, 2008 - 19:47

Onopoc: I'm sorry, but half of that was useless. See #79:

I'll be working on this during the code sprint today. Hopefully I can make substantial progress!

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!

#87

Onopoc - September 1, 2008 - 20:01

gagarine: 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.

#88

N.Simpson - September 10, 2008 - 22:36

+1

#89

good_man - September 10, 2008 - 22:59

any news Wim? do you need any help?

#90

Wim Leers - September 11, 2008 - 06:12

I'm on a vacation right now. Will be back on Friday. Expect a new version on Monday.

#91

good_man - September 11, 2008 - 09:48

Happy vacation Wim and sorry for annoying ...

#92

Wim Leers - September 13, 2008 - 17:48

New 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 :)

AttachmentSize
d6port.patch 76.05 KB
hierarchical_select.zip 237.64 KB

#93

nirvanajyothi - September 13, 2008 - 17:58

Thanks a lot for this,friend!
Hope you had a great time on vacation!

#94

good_man - September 14, 2008 - 01:15

sounds good, really good I'll try it now and can't wait for the next release.

#95

illuminaut - September 15, 2008 - 16:56

subscribing

#96

Onopoc - September 15, 2008 - 19:01

Here are my testing results with hierarchical_select.zip (comment #92). Hope this testing helps.

The good news:

  • HS works great on standard page. Multiple HS on the same standard page work too. That's awesome.
  • Preview box works
  • Speed increase. I did notice a speed increase when using HS with Drupal 6 compare to Drupal 5. Maybe it's my current internet connection. I'll try again later. But if it's always that fast then HS with Drupal 6 is burning rubber.
  • I use for the first time the 'Create new term type' feature. Wow I'm impress. Creating new terms directly into the menu kick ass. Very handy. And easy to use. Wow HS 3 is the most advance and powerful menu I ever seen.

The bad news:

  1. Six HS modules are incompatible with the 6.4 version of Drupal core. This is probably normal and can be ignore since development is in progress for those HS modules. To reproduce install module hierarchical_select.zip from comment #92 then visit module admin page. Six red X will show. Attached screenshot (1_cannot_be_unabled.png).
  2. Clicking Implementations button return error. This can be ignore for now though because it's still under development (90% done). Expected result is to be directed to Implementations page. [Implementations button location: Administer > Site configuration > Hierarchical Select > Implementations button.]
    Attached screenshots (2_Fatal_error_implementations1.png & 2_Fatal_error_implementations.png).
  3. After adding a rootlevel term user can't access the sublevel 1 under the same rootlevel term. To reproduce find attached video (3_user_cannot_access_sublevel_1.zip).
  4. Drop box too wide in Internet Explorer 7 for large screen 17"+. Buttons 'Remove' are too far on the rigth side of the screen. This is not a bug but a proposed usability improvement. Dropbox's size in Firefox is easier to work with. To reproduce find videos (5_dropbox_too_wide_ie7.zip & 5_dropbox_good_size_ff3.zip).

Testing done with:

  • Drupal 6.4 fresh intall
  • hierarchical_select.zip (comment #92)
  • Standard pages only not CCK pages
  • cck-6.x-2.0-rc7.tar.gz
  • devel-6.x-1.10.tar.gz
  • jquery_update-6.x-1.1.tar.gz
  • content_taxonomy-6.x-1.0-beta3.tar.gz
  • Windows XP

Note to myself for future HS testing:

  • At this point HS can only be use on standard pages. HS on CCK pages need to be tested later.
AttachmentSize
1_cannot_be_unabled.png 26.23 KB
2_Fatal_error_implementations1.png 38.47 KB
2_Fatal_error_implementations.png 6.29 KB
3_user_cannot_access_sublevel_1.zip 54.77 KB
4_dropbox_too_wide_ie7.zip 124.35 KB
4_dropbox_good_size_ff3.zip 17.51 KB

#97

Eli Baskin - September 17, 2008 - 13:24

Subscribing.

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 :)

#98

adik - September 22, 2008 - 17:14

Hello!
Is it possible to make integration between hierarchical select and taxonomy browser?
Thank!

#99

jmburnz - September 22, 2008 - 20:53

Bookmark

#100

scottrigby - September 23, 2008 - 15:45

Hi 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?

#101

root_of_roots - September 26, 2008 - 02:10
Title:Port to Drupal 6» Drupal 6.x Port for Hierarchical Select Module

Testing and subscribing to the discussion.

Cheers,
-ROR

#102

Wim Leers - September 26, 2008 - 09:24
Title:Drupal 6.x Port for Hierarchical Select Module» Port to Drupal 6

Please don't change the title

#103

mrfelton - September 26, 2008 - 13:41

tracking, thanks

#104

root_of_roots - September 26, 2008 - 14:45

Please 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

#105

ianchan - October 1, 2008 - 05:55

subscribing

#106

Wim Leers - October 1, 2008 - 06:33

To 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.

#107

mrfelton - October 1, 2008 - 09:40

how many people are actively developing this project? Any ideas when the code move from this thread to a dedicated -dev release?

#108

Wim Leers - October 1, 2008 - 15:04

I'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.

#109

upupax - October 3, 2008 - 00:56

subscribing

#110

cerber0s - October 5, 2008 - 16:08

subscribing

#111

Wim Leers - October 6, 2008 - 17:20

Status 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.

#112

scottrigby - October 6, 2008 - 18:01

Great!

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

#113

Wim Leers - October 6, 2008 - 18:10

Exposed filters won't be supported soon. Views 2 is a very different beast. I hope somebody else will step up and work on that.

#114

arhak - October 8, 2008 - 09:03

subscribing

#115

zmove - October 10, 2008 - 19:10

subscribing

#116

Break9 - October 16, 2008 - 01:09

subscribing

#117

Ali Imtiaz - October 16, 2008 - 05:32

While 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

#118

Jiou - October 18, 2008 - 14:24

Subscribe

#119

AgentD - October 21, 2008 - 17:43

Subscribing.

#120

mansspams - October 22, 2008 - 21:52

Im not a coder, so dont trust me!

cache_set($hs_form_build_id, 'cache', serialize($storage), $expire);

From that example i would think i need to remove 'cache' part and MAYBE change order of elements in brackets.

cache_set($hs_form_build_id, serialize($storage), $expire);

or

cache_set(serialize($storage), $hs_form_build_id, $expire);

#121

litrik - October 23, 2008 - 08:01

subscribing

#122

Danial Namousi - October 23, 2008 - 16:56

subscribing

#123

mrfelton - October 28, 2008 - 11:00

I 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:

...
27   var els = semantic ? form.getElementsByTagName('*') : form.elements;
28   if (!els) return a;
29   for(var i=0, max=els.length; i < max; i++) {
30   var el = els[i];
31   var n = el.name;
32   if (!n) continue;
...

the error as reported by Firebug is:

el is null

#124

Wim Leers - October 28, 2008 - 18:10

Hrm, that's not my code, but a portion of the code of the jQuery Form plugin. I might have to update that as well.

#125

rrlange - October 30, 2008 - 18:44

subscribing

#126

thepiano - November 3, 2008 - 17:37

subscribe

#127

tallsimon - November 4, 2008 - 19:23

subscribing

#128

VeeLin - November 4, 2008 - 21:53

subscribing

#129

spydmobile - November 5, 2008 - 20:07

I cant wait for D6 version!

#130

daneyuleb - November 6, 2008 - 02:07

Subscribing

#131

mansspams - November 8, 2008 - 08:30

any good news? when can we start testing?

#132

that0n3guy - November 10, 2008 - 02:21

Subscribing,

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.

#133

watbe - November 10, 2008 - 17:50

subscribing

keep up the good work Wim!

#134

afly - November 11, 2008 - 14:13

subscribing

#135

arhak - November 12, 2008 - 14:38

at #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

#136

Wim Leers - November 12, 2008 - 16:36
Title:Port to Drupal 6» Port Hierarchical Select to Drupal 6

Fair enough. Makes it easier for everybody who's following this issue I guess :)

#137

that0n3guy - November 12, 2008 - 17:46

Hey 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.

#138

Wim Leers - November 12, 2008 - 19:34

No 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.

#139

that0n3guy - November 12, 2008 - 21:48

I 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.

#140

jlevis - November 15, 2008 - 20:15

subscribing

#141

undoIT - November 17, 2008 - 08:13

Subscribing. Looking forward to Drupal 6 version :)

#142

adaven - November 17, 2008 - 14:08

subscribing

#143

rmjiv - November 17, 2008 - 18:06

We'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).

AttachmentSize
hs.jpg 17.55 KB

#144

Flying Drupalist - November 17, 2008 - 21:32

subscribe

#145

Kudja - November 23, 2008 - 09:50

Drupal 6.6 Preview works great, but in any material creation nothing happens. installed from #92

#146

3duardo - November 24, 2008 - 17:39

subscribing

#147

zmove - November 26, 2008 - 08:34

same than #145

#148

andb - November 26, 2008 - 10:01

Subscribing

#149

stoney - November 26, 2008 - 18:50

+me

#150

adam_b - November 27, 2008 - 11:03

subscribing

#151

bonobo - November 28, 2008 - 04:32

Apologies for any folks receiving automated emails: subscribing.

#152

Liliplanet - November 28, 2008 - 10:20

subscribe for v6

#153

losionok - December 1, 2008 - 01:51

Ported 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

#154

Wim Leers - December 1, 2008 - 02:10

WOOT, 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 :)

#155

Wim Leers - December 1, 2008 - 02:28
Version:5.x-3.x-dev» 6.x-3.x-dev

Look 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.

#156

Wim Leers - December 1, 2008 - 02:35

Oh and this was the final patch that I committed.

AttachmentSize
finalpatch.patch 74.81 KB

#157

that0n3guy - December 1, 2008 - 17:23

Great Job, Thanks for finding a little time to work on this even with your busy schedule. I'm excited about this.

#158

losionok - December 1, 2008 - 23:06

ups =)

AttachmentSize
hs_content_taxonomy.zip 5.68 KB

#159

that0n3guy - December 2, 2008 - 00:22

Initial 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.

    * warning: Missing argument 1 for hs_menu_menu() in /home/myusername/public_html/obn/sites/all/modules/hierarchical_select/modules/hs_menu.module on line 16.
    * warning: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/hierarchical_select/includes/theme.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/hierarchical_select/includes/theme.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/hierarchical_select/includes/theme.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/hierarchical_select/includes/theme.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/hierarchical_select/includes/theme.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in /home/myusername/public_html/obn/includes/theme.inc on line 283.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/hierarchical_select/includes/theme.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myusername/public_html/obn/includes/theme.inc on line 283.

#160

zmove - December 2, 2008 - 06:58

I have errors too on the latest d6 version :

<?php
warning
: include_once(sites/all/modules/hierarchical_select/includes/theme.inc) [function.include-once]: failed to open stream: No such file or directory in drupal6includestheme.inc on line 283.
?>

I created this issue about it.

#161

Wim Leers - December 3, 2008 - 00:35
Status:needs work» fixed

#93

Clicking Implementations button return error. This can be ignore for now though because it's still under development (90% done). Expected result is to be directed to Implementations page. [Implementations button location: Administer > Site configuration > Hierarchical Select > Implementations button.]
Attached screenshots (2_Fatal_error_implementations1.png & 2_Fatal_error_implementations.png).

This is because an internal API of Drupal core has changed. Fixed now.

After adding a rootlevel term user can't access the sublevel 1 under the same rootlevel term. To reproduce find attached video (3_user_cannot_access_sublevel_1.zip).

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.

Drop box too wide in Internet Explorer 7 for large screen 17"+. Buttons 'Remove' are too far on the rigth side of the screen. This is not a bug but a proposed usability improvement. Dropbox's size in Firefox is easier to work with. To reproduce find videos (5_dropbox_too_wide_ie7.zip & 5_dropbox_good_size_ff3.zip).

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

* 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).

See reply to #93.

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)?

This is not yet supported.

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?

This isn't necessary. I've updated the README to reflect this. Thanks!

#143

We'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).

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

Drupal 6.6 Preview works great, but in any material creation nothing happens. installed from #92

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!

#162

nirvanajyothi - December 3, 2008 - 09:09

Woow!

Thank you Wim Leers, losionok and all for the dev version.

The long wait will now soon end!

-thank you

#163

renee - December 4, 2008 - 22:54

I'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...

#164

renee - December 4, 2008 - 23:15

Found it - in the .info files, the format is wrong, eg:

-dependencies = hs_content_taxonomy_views content_taxonomy

+dependencies[] = hs_content_taxonomy
+dependencies[] = content_taxonomy

#165

renee - December 4, 2008 - 23:24
Status:fixed» active

More 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!

#166

Wim Leers - December 5, 2008 - 00:04
Status:active» fixed

@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 ;)

#167

renee - December 6, 2008 - 19:30

D'oh. Somebody needs to create a USB device that reaches out and smacks people on the hand just before they hit "submit."

#168

that0n3guy - December 6, 2008 - 20:45

#169

Wim Leers - December 6, 2008 - 23:55

that0n3guy: OH MY GOD /me wants

#170

yanivnizry - December 7, 2008 - 11:01

Subscribing

#171

Radiating Gnome - December 8, 2008 - 15:09

subscribing with whipped cream and a cherry on top.

#172

Liliplanet - December 9, 2008 - 06:11
Component:Code» Code - Content Taxonomy
Status:fixed» active

Hi,

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

#173

watbe - December 9, 2008 - 06:13

You should try the current 6.x-dev version now that its official

#174

Liliplanet - December 9, 2008 - 06:24

Thank 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

#175

watbe - December 9, 2008 - 06:27

Its 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.

#176

VeeLin - December 9, 2008 - 18:12

I get the same error and believe it's a known issue.

#177

renee - December 9, 2008 - 19:45

The "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...

-dependencies = hs_content_taxonomy_views content_taxonomy

+dependencies[] = hs_content_taxonomy
+dependencies[] = content_taxonomy

#178

Flying Drupalist - December 9, 2008 - 21:31
Status:active» closed

Grr everyone stop posting in this issue. A beta is out, if you have a problem make a new issue!

#179

that0n3guy - December 11, 2008 - 20:33

Quote: OH MY GOD /me wants

Ha, they had those on woot.com a while ago for cheap... but I didnt get one... I'm such a loser :).

#180

chandubhai - December 26, 2008 - 05:27
Status:closed» active

Hello 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

#181

La_ntegral - January 3, 2009 - 10:03
Assigned to:Wim Leers» Anonymous

Any 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.

#182

ColoMondoMan - January 13, 2009 - 20:19

Same 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!

#183

Mark Theunissen - January 15, 2009 - 11:48
Status:active» closed

@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.

#184

dejamuse - February 8, 2009 - 08:47

This 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

#185

Mark Theunissen - February 8, 2009 - 10:11

Please make a new support request. This topic is closed.

#186

sullyman - February 14, 2009 - 20:28

Just 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

#187

renee - March 10, 2009 - 18:14

sullyman: already reported here: http://drupal.org/node/345951

 
 

Drupal is a registered trademark of Dries Buytaert.