Site: add form
This form is used for the "add site" form in the site manager
File path | /forms/preside-objects/site/admin.add.xml |
---|---|
Form ID | preside-objects.site.admin.add |
<?xml version="1.0" encoding="UTF-8"?>
<form>
<tab id="basic" sortorder="10" title="preside-objects.site:basic.tab.title">
<fieldset id="basic" sortorder="10">
<field binding="site.name" sortorder="10" control="textinput" />
<field binding="site.protocol" sortorder="20" required="true" />
<field binding="site.domain" sortorder="30" control="textinput" />
<field binding="site.path" sortorder="40" control="textinput" />
<field binding="site.template" sortorder="50" control="sitetemplatepicker" />
</fieldset>
</tab>
<tab id="seo" sortorder="20" title="preside-objects.site:seo.tab.title">
<fieldset id="seo" sortorder="10">
<field binding="site.hide_from_search" sortorder="10" />
<field binding="site.author" sortorder="20" />
<field binding="site.browser_title_prefix" sortorder="30" />
<field binding="site.browser_title_suffix" sortorder="40" />
</fieldset>
</tab>
<tab id="advanced" sortorder="30" title="preside-objects.site:advanced.tab.title">
<fieldset id="advanced" sortorder="10">
<field name="alias_domains" sortorder="10" control="textarea" label="preside-objects.site:field.alias_domains.title" help="preside-objects.site:field.alias_domains.help" />
<field name="redirect_domains" sortorder="20" control="textarea" label="preside-objects.site:field.redirect_domains.title" help="preside-objects.site:field.redirect_domains.help" />
<field name="auto_redirect" sortorder="30" control="yesNoSwitch" label="preside-objects.site:field.auto_redirect.title" help="preside-objects.site:field.auto_redirect.help" default="1" />
</fieldset>
</tab>
</form>