Hi Edwin,
I'd like a customer to create a new slave sites automatically by submitting just 1 field being their sitename (i.e. the Alias field) from a public form on the front-end.
The customer should just enter their sitename and then click 'submit'. All the other slave site fields will be pre-defined or populated via a variable and hidden from view in the front-end.
As far as I can see from the template and admin settings, I need to setup the template as follows:
a) List of domain names:
www.mysite.com/{site_id}
b) To Site ID: {site_alias}
c) Deploy folder: /chroot/home/mysite.com/html/{site_id}
d) All other fields are then hidden in the menu item configuration except for '
Alias'
Please can you confirm the following:
1) Are my fields correct above in a) b) c) and d) ?
2) I am assuming that the field 'Alias' (point d) above) will then be used as the {site_id}, is this correct?
3) Do I need to populate any data into the 'Alias link:' field in the template?
4) Currently, I need to login to see the form, is there a way for the form to be public? (I've selected the field 'anonymous' in the menu item config however this doesn't seem to help)
5) Does 'Prefix' in the menu item config relate to the database prefix in the template (or is this something else)?
6) What field do I use to automatically set the new site Title (Site Name) to be the {site_id}?
Thanks for your assistance with these questions.
Best regards.