I worked a bit on backporting the friendlier domain / subdomain selection from hm1 to the signup module.

Essentially, if you have signup and alias selected, you can select to replace the site->title field with a javascript set of fields.

ie: if you check i have my own domain, it will show the http://[ yourdomainhere.com]/ version of the domain name field,
if it is unchecked it will show http://[ yoursubdomainhere ].mywilcarddomain.com/ in the signup form.

This is almost working, it's just the validation and submission that is off.

Comments

hadsie’s picture

Version: 5.x-0.1-beta2 » 6.x-0.4-alpha3
Status: Needs work » Needs review
StatusFileSize
new257 bytes
new4.99 KB

I've rewritten this patch to be compatible with the 6.x-0.4-alpha7 version of hosting. I've stripped out anything not directly related to the domain/subdomain stuff and simplified the domain element a bit.

adrian’s picture

Status: Needs review » Needs work

the signup form and all the js is completely different in head now.

adrian’s picture

This should be a lot simpler now.

the forms were much simplified, and the showing and hiding of fields is now much simpler (see hosting_site_available_options).

at some point however we need to introduce a new top level 'domain' type, which i would like to work the same way i did the simple cert admin. http://skitch.com/vertice/dc8w8/create-site-t-4

basically, if there are no domains associated to client you just get the domain entry. if the client has domains associated with them, the default is the subdomain entry, with the option to go to full domain entry, which creates a new zone.

hadsie’s picture

StatusFileSize
new1.67 KB

I've turned this into a new module / hosting feature. I didn't use the new method of available_options as there's not actually any fields that need to be hidden or shown at this point since it's still fairly limited in what it can provide.

Robin Millette’s picture

subbing

steven jones’s picture

Status: Needs work » Postponed

Really not sure what this is about, and if we even want it any more, marking as postponed.

ergonlogic’s picture

Issue summary: View changes

Closing for lack of activity.

ergonlogic’s picture

Status: Postponed » Closed (won't fix)