the language selection form is horribly huge on openatrium. we should make it a dropdown, or make it a dropdown once any element hits a certain number.

CommentFileSizeAuthor
#7 rework-site-form1.patch4.41 KBchertzog
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

This is one of those (many) issues that I thought would be really easy, so took a stab at it, and it turned out to be a nightmare.

The hosting_site.form.js is filled with 'radios' assumptions, changing it to a select causes problems with other profiles that don't have multiple languages

anarcat’s picture

Again, this points to yet another site form refactoring I guess...

Steven Jones’s picture

Project: Hosting » Hostmaster (Aegir)
Version: 6.x-0.4-alpha3 » 7.x-2.x-dev
Status: Active » Postponed

I reckon we leave this for D6, and take advantage of the D7 ajax loveliness, and we can handle this issue there.

Steven Jones’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Issue tags: +AUX Project

Tagging.

Steven Jones’s picture

Priority: Major » Normal

Yeah, this really isn't very simple is it. It would be nice to have at some point though.

ergonlogic’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev
chertzog’s picture

Status: Postponed » Needs review
FileSize
4.41 KB

As requested by anarcat in #967888: meta: refactor site form.

I commented out the pre_render function to demonstrate that this removes the need for hosting_site.form.js completely.

Here is a patch that changes the site form languages as well as the profile/platform stuff (as the are dependent on each other.

chertzog’s picture

And actually, now that the hosting_site.form.js file is no longer needed, we could in fact change the profile / platform selectors to drop downs vs radios, if that was desired.

chertzog’s picture

This patch still applies.

helmo’s picture

Issue summary: View changes
Status: Needs review » Fixed

I've committed the patch from #7 minus the parts commented out.

As 00c9c271e4bb766bbb108b64391164bd94a23305

I've arbitrarily chosen count($languages) > 10 as condition to use a select instead of radio. (commit b12877de62f72957992b6b84a89b0b1e2efc8cdb)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.