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

Comments

wim leers’s picture

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.

wim leers’s picture

Title: Update for Drupal 6 ? » Update for Drupal 6?
Status: Active » Postponed
wim leers’s picture

Title: Update for Drupal 6? » Port to Drupal 6
Rob T’s picture

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?

wim leers’s picture

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?

Rob T’s picture

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.

wim leers’s picture

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.

Rob T’s picture

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.

wim leers’s picture

Version: 5.x-2.x-dev » 5.x-3.x-dev
Assigned: Unassigned » 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.

Rob T’s picture

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.

nirvanajyothi’s picture

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.

magnus’s picture

subscribe

Rob T’s picture

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.

wim leers’s picture

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

nirvanajyothi’s picture

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

wim leers’s picture

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.

Rob T’s picture

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.

Hyper-1’s picture

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.

Rob T’s picture

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.

nirvanajyothi’s picture

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.

wim leers’s picture

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

nirvanajyothi’s picture

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

wim leers’s picture

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

nirvanajyothi’s picture

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

wim leers’s picture

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

nirvanajyothi’s picture

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!

faunapolis’s picture

subscribing:)

nirvanajyothi’s picture

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.

wim leers’s picture

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

nirvanajyothi’s picture

I know.I expected the same.

what abt the country functionality?Can that be added.

wim leers’s picture

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

nirvanajyothi’s picture

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

wim leers’s picture

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

nirvanajyothi’s picture

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

Please make any changes as appropriate.

nirvanajyothi’s picture

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

please....

nirvanajyothi’s picture

waited long...ready to wait longer!

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

EyeChartBrew’s picture

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

wim leers’s picture

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.

nirvanajyothi’s picture

k.i trust that.

farald’s picture

dum dum di da.. Exellent module:)

nirvanajyothi’s picture

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

nirvanajyothi’s picture

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

wim leers’s picture

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.

nirvanajyothi’s picture

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.

wim leers’s picture

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.

wim leers’s picture

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.

wim leers’s picture

Status: Active » Needs work
StatusFileSize
new59.42 KB

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.

Rob T’s picture

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.

wim leers’s picture

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

sammys’s picture

subscribing

nirvanajyothi’s picture

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

wim leers’s picture

Status: Active » Needs work
StatusFileSize
new67.54 KB

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.

wim leers’s picture

StatusFileSize
new162.67 KB

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.

nirvanajyothi’s picture

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

Thank you.

wim leers’s picture

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

nirvanajyothi’s picture

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?

wim leers’s picture

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.

nirvanajyothi’s picture

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

wim leers’s picture

Your vocabulary is not yet hierarchical probably.

nirvanajyothi’s picture

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

sammys’s picture

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.

Rob T’s picture

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.

wim leers’s picture

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!

Rob T’s picture

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.

Rob T’s picture

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.

maryts23’s picture

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?

marius.s’s picture

Wim,

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

Marius

kcmongoose’s picture

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

capellic’s picture

StatusFileSize
new2.22 KB
new3.34 KB
new46.7 KB
new62.66 KB
new91.81 KB

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

tebb’s picture

Subscribing.

maryts23’s picture

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

toma’s picture

Subscribing

ogi’s picture

subscribe

chasz’s picture

+1

bensnyder’s picture

+10000

scottrigby’s picture

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

wim leers’s picture

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…

scottrigby’s picture

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

wim leers’s picture

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

wim leers’s picture

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

gagarine’s picture

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!

francewhoa’s picture

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

francewhoa’s picture

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.]
gagarine’s picture

StatusFileSize
new127.15 KB

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

 $module_info = _module_parse_info_file(dirname($filename) ."/$module.info");

by

$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

good_man’s picture

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

wim leers’s picture

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!

francewhoa’s picture

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.

N.Simpson’s picture

+1

good_man’s picture

any news Wim? do you need any help?

wim leers’s picture

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

good_man’s picture

Happy vacation Wim and sorry for annoying ...

wim leers’s picture

StatusFileSize
new237.64 KB
new76.05 KB

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

nirvanajyothi’s picture

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

good_man’s picture

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

illuminaut’s picture

subscribing

francewhoa’s picture

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.
Eli Baskin’s picture

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

adik’s picture

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

Jeff Burnz’s picture

Bookmark

scottrigby’s picture

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?

root_of_roots’s picture

Title: Port to Drupal 6 » Drupal 6.x Port for Hierarchical Select Module

Testing and subscribing to the discussion.

Cheers,
-ROR

wim leers’s picture

Title: Drupal 6.x Port for Hierarchical Select Module » Port to Drupal 6

Please don't change the title

mrfelton’s picture

tracking, thanks

root_of_roots’s picture

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

ianchan’s picture

subscribing

wim leers’s picture

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.

mrfelton’s picture

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

wim leers’s picture

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.

upupax’s picture

subscribing

cerber0s’s picture

subscribing

wim leers’s picture

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.

scottrigby’s picture

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

wim leers’s picture

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.

arhak’s picture

subscribing

zmove’s picture

subscribing

break9’s picture

subscribing

Ali Imtiaz’s picture

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

Jiou’s picture

Subscribe

AgentD’s picture

Subscribing.

henrijs.seso’s picture

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);
Anonymous’s picture

subscribing

Danial Namousi’s picture

subscribing

mrfelton’s picture

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

wim leers’s picture

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.

reinholdlange’s picture

subscribing

ThePiano.SG’s picture

subscribe

tallsimon’s picture

subscribing

VeeLin’s picture

subscribing

spydmobile’s picture

I cant wait for D6 version!

daneyuleb’s picture

Subscribing

henrijs.seso’s picture

any good news? when can we start testing?

that0n3guy’s picture

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.

watbe’s picture

subscribing

keep up the good work Wim!

afly’s picture

subscribing

arhak’s picture

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

wim leers’s picture

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

that0n3guy’s picture

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.

wim leers’s picture

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.

that0n3guy’s picture

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.

jlevis’s picture

subscribing

Coupon Code Swap’s picture

Subscribing. Looking forward to Drupal 6 version :)

adaven’s picture

subscribing

rmjiv’s picture

StatusFileSize
new17.55 KB

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

Flying Drupalist’s picture

subscribe

Kudja’s picture

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

3duardo’s picture

subscribing

zmove’s picture

same than #145

andb’s picture

Subscribing

stoney’s picture

+me

adam_b’s picture

subscribing

bonobo’s picture

Apologies for any folks receiving automated emails: subscribing.

liliplanet’s picture

subscribe for v6

losionok’s picture

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

wim leers’s picture

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

wim leers’s picture

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.

wim leers’s picture

StatusFileSize
new74.81 KB

Oh and this was the final patch that I committed.

that0n3guy’s picture

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

losionok’s picture

StatusFileSize
new5.68 KB

ups =)

that0n3guy’s picture

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.


zmove’s picture

I have errors too on the latest d6 version :

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.

wim leers’s picture

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!

nirvanajyothi’s picture

Woow!

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

The long wait will now soon end!

-thank you

Renee S’s picture

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

Renee S’s picture

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

Renee S’s picture

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!

wim leers’s picture

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

Renee S’s picture

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

that0n3guy’s picture

wim leers’s picture

that0n3guy: OH MY GOD /me wants

yanivnizry’s picture

Subscribing

Radiating Gnome’s picture

subscribing with whipped cream and a cherry on top.

liliplanet’s picture

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

watbe’s picture

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

liliplanet’s picture

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

watbe’s picture

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.

VeeLin’s picture

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

Renee S’s picture

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
Flying Drupalist’s picture

Status: Active » Closed (fixed)

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

that0n3guy’s picture

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

chandubhai’s picture

Status: Closed (fixed) » 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

Daniel A. Beilinson’s picture

Assigned: wim leers » Unassigned

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.

ColoMondoMan’s picture

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!

Mark Theunissen’s picture

Status: Active » Closed (fixed)

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

dejamuse’s picture

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

Mark Theunissen’s picture

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

sullyman’s picture

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

Renee S’s picture

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

ari-meetai’s picture

great. Subscribing.

Eli Baskin’s picture

Anything new on the porting side?

wim leers’s picture

#189: it's been ready to use for months now. Just give the 6.x-dev snapshots a try :)

nirvanajyothi’s picture

Hi Wim Leers,

It has been long! Is there a reason why this module has no alpha version yet?

-Thank you.

AdrianB’s picture

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

bonobo’s picture

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

SethM’s picture

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

arhak’s picture

@freeStyle_Media: please open a new issue, since this thread is already closed