Hello,
I'm quite sure this is probably something I'm doing wrong, so I appreciate any input anyone is willing to offer. I recently posted on Drupal looking for help with organizing my many terms and the HS demo looks like a perfect solution. I am wondering if this issue (see link) was ever solved for those who do not have content_taxonomy installed. (http://drupal.org/node/173032)
I activated the module and dependencies, copied the jquery.js file to the misc folder, tried both Multi Select on and off, I hard refreshed, cleared cache, and even tried moving to another module folder like a few people suggested in that thread. However, I still get that category listing with my parent and subs in one long drop down. I even tried the HS 2.0 Beta 1 as well, which is the version I have installed currently.
Just wondering if there was anyone out there who still has this problem, and if not, what did you do/check to rectify the issue.
Thanks,
Selym
Comments
Comment #1
wim leersI will need more details.
It sounds to me like you have either Javascript disabled in your browser, not refreshed the page properly or emptied your browser cache properly, or have Javascript aggregation enabled (there's a Drupal 5 patch for that, so that's possible).
That issue was most definitely fixed, and it was just content_taxonomy fields inside a fieldgroup not being picked up.
Comment #2
selym commentedYes, I'm sure it's something I am doing or not doing...I just have no idea what it could be. I have tried it in FF 2.0 and IE 7. I have ensured Javascript is enabled in both browsers. I have refreshed the page using Ctrl + R, F5, and the little refresh icon. I've even emptied the cache in both browsers as well. (for FF - Tool --> Clear Private Data, for IE - Tools --> Internet Options --> Delete) I also don't have a module installed called Javascript Aggregation.
I'm thinking it's either a setting I have missed or perhaps another conflicting module. What kind of details would you need from me?
Thanks very much for taking the time to look over my post.
Thanks,
Selym
Comment #3
wim leersPlease create a user on your site with admin rights and e-mail the login details to me. I'll check what you've configured wrong, and document it in the README.
Comment #4
wim leersI've found the cause.
You had installed the module in the "modules" directory, while you should have installed it in the "sites/all/modules" directory. NEVER install modules in the "modules" directory, that directory should only be used for Drupal core modules and thus you should never touch it!
Moving it to "sites/all/modules" instantly fixed the problem. This is strange at first sight, but if we look deeper it makes sense.
Drupal loads modules based on the path they're installed, not just by module name and weight. That means "modules/hierarchical_select" comes before "modules/taxonomy". And Hierarchical Select needs Taxonomy's hook_form_alter() to be already applied, or it won't find the taxonomy stuff in the form. If Hierarchical Select is installed in "sites/all/modules/hierarchical_select", then it will come later than the Taxonomy module, and then it works just fine.
Comment #5
selym commentedThank you so much. I can confirm that it looks great and works perfectly.
I believe you or someone else had mentioned this in a previous thread, so I had tried to move the module into sites/all/modules, but the modules folder did not exist within that path. I created it and then moved hierarchical_select and never got it working doing that. I still must have been doing something wrong because you obviously got it working just fine.
I had no idea that I shouldn't be installing modules into the modules directory. I was instructed to do just that in a ReadMe.txt from the first module I installed, so I assumed this is where they all went. I guess I should go back and take a look at what else I have in there that shouldn't be there.
Again, thank you so much for taking the time to investigate my issue. Fantastic work with this module. I hope this thread will also help others who did not know we should be installing all modules in sites/all/modules.
Thanks,
Selym
Comment #6
MikeMoirano commentedHello,
I really like the idea of this module but I am having similar issues for beta 2. When I create a folder called 'modules' in sites/all and install hierarchical select in this folder nothing seems to do the trick. I am trying to use the multiple select feature and have tried a number of configurations within the hierarchical select options in edit vocabulary but nothing is working. Do you think you could help me out, or explain explicitly what you did in order to get this working for selym.
Thank you so much
Comment #7
MikeMoirano commentedI am switching this back to active, I hope you don't mind
Comment #8
wim leersGo to admin/logs/status to verify that you installed the jQuery Update module correctly.
Comment #9
MikeMoirano commenteddefinitely did
Comment #10
MikeMoirano commentedcleared private data, no javascript aggregation
Comment #11
wim leersYou did enable HS for your specific vocabulary, hopefully? If you did, I'm out of ideas. Please create an account for me on your website, with admin rights, so I can check where things go bad.
Comment #12
wim leersSome idiot maintainer decided to make its module *change* the Taxonomy module's weight (to 10). That's something he shouldn't have done, he should have altered the weight of *his own* module instead. That was the cause. I have created a .install file to do this automatically. Existing users will have to run update.php after installing the new version.
Why did the module weight make the difference? Because first you have a node form. Then the Taxonomy module alters it. Then, if and only if the Hierarchical Select module finds Taxonomy's form items, it alters them. So the HS module needs to come after Taxonomy, which it currently wasn't, thanks to the aforementioned idiot developer.
This wasn't a real bug, but it makes the module much more user-friendly.
Comment #13
kabiev commentedusing with modules content_taxonomy
I create the new content type and added field content_taxonomy select list. When filling form in all is ok. (dr2.jpg)
when i press submit or preview drupal show me that - dr1.jpg
who can tell me what is the problem?
thanks!
Comment #14
wim leersThat's not related to this issue. Instead, see http://drupal.org/node/206598.
Comment #15
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.