Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In this issue, my goal is to implement a feature, where the user can change how the HS appears. So maybe a check box in field settings that, the drop-down list float left next to each other, or every drop-down will place in a new line.
Comments
Comment #1
Wim LeersOkay. Please contribute a patch! :)
You'll have to make sure this is documented in the included documentation (API.txt). It may also be a good thing to add this to HS' unified config UI in common.inc.
Comment #2
K.MacKenzie CreditAttribution: K.MacKenzie commentedI would like to point out that this could be themed in fairly easily; so if your goal is simply the result, consider altering the width of the div that contains the drop downs.
The javascript will automatically put the dropdown on the next line if there is no more room in the div. So if the individual dropdowns and the div container are the same width you will get a vertical result, if the all of the dropdowns total combined width is less or the same as the container width, you will get a horizontal result.
Hope that helps.
Comment #3
Wim LeersI'm aware of the fact that this is easy to implement. However, we also need to extend the UI to support this. Plus, very few people want this. That's why I'm not going to implement this myself, but am only going to welcome this as a patch.
Hence marking as postponed.