As part of getting custom languages working for Drupal 6, I had to fix a previous error I made by
associating languages with packages instead of with instances of packages.
This would mean that if you had the default profile on several platforms, but only have a certain language available on one of those platforms, it would show you the language even though your platform didn't have it.
Just need to change the populate function to accept both the platform and the profile as input, use that to get the iid in hosting_package_instance, and then get the languages using that iid from hosting_package_languages.
This involves some changes to the jquery.
Comments
Comment #1
xiong commentedIt's working now, please review.
Comment #2
adrian commentedI fixed 2 small problems in this patch, but it works perfectly now.
Namely it was showing language codes instead of the language names, and it wasn't sending the correct platform to the backend call (missing a :checked in the js, but added now)
committed.
Comment #3
adrian commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.