Here's the autocomplete field for client on site form.
The autocomplete function is done in client.module, while the site form has an autocomplete field pointing to it.

Comments

adrian’s picture

Status: Needs review » Needs work

Client is a required field. And it defaults to the PROVISION_DEFAULT_CLIENT.
It should also be editable in the edit form.

xiong’s picture

Status: Needs work » Needs review
StatusFileSize
new3.25 KB

Client set as required field and it's editable in the edit form now.

adrian’s picture

Status: Needs review » Needs work

still not defaulting correctly. And it's iterating through all the clients in the autocomplete instead of just doing a select

xiong’s picture

Status: Needs work » Needs review
StatusFileSize
new3.89 KB

set the default.
the site node was not updating correctly because of wrong parameters - changed.

please review

xiong’s picture

StatusFileSize
new5.17 KB

* fixed the issue of hiding client field when there's a value on create from
* tweaked the hosting_get_client($client) function, so now it accepts an array $client, with either title, email or nid value to be keyword to search

adrian’s picture

Status: Needs review » Fixed

Committed a modified version of the patch, as the one here broke the signup module.

Status: Fixed » Closed (fixed)

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

  • Commit 96b55f9 on 599758_edit_main_site, 640952_client_preview, dev-dns, dev-features, dev-headless_install, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newsiteform, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-relationships, dev-restore, dev-server_nodetype, dev-services, dev-site_rename, dev-ssl, dev_dns, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x authored by adrian:
    #335796 - replaced client selection radios with autocomplete field....

  • Commit 96b55f9 on 599758_edit_main_site, 640952_client_preview, dev-dns, dev-features, dev-headless_install, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newsiteform, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-relationships, dev-restore, dev-server_nodetype, dev-services, dev-site_rename, dev-ssl, dev_dns, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x authored by adrian:
    #335796 - replaced client selection radios with autocomplete field....