Sitetree Page: add form
This form is used as the base "add page" form for Sitetree pages. See also Sitetree Page: edit form.
Info
When an add page form is rendered, it gets mixed in with any forms that are defined for the page type that is being added.
File path | /forms/preside-objects/page/add.xml |
---|---|
Form ID | preside-objects.page.add |
<?xml version="1.0" encoding="UTF-8"?>
<form>
<tab id="main" sortorder="10">
<fieldset id="main" sortorder="10">
<field sortorder="10" binding="page.title" />
<field sortorder="20" binding="page.slug" control="siteTreePageSlugEditor" required="true" autoSlug="true" basedOn="title" />
<field sortorder="40" binding="page.main_image" />
<field sortorder="50" binding="page.layout" />
<field sortorder="60" binding="page.teaser" />
<field sortorder="70" binding="page.main_content" />
</fieldset>
</tab>
<tab id="meta" sortorder="20">
<fieldset id="meta" sortorder="10">
<field sortorder="05" binding="page.internal_search_access" />
<field sortorder="10" binding="page.search_engine_access" />
<field sortorder="20" binding="page.browser_title" />
<field sortorder="30" binding="page.author" />
<field sortorder="40" binding="page.description" />
</fieldset>
</tab>
<tab id="dates" sortorder="30">
<fieldset id="dates" sortorder="10">
<field sortorder="10" binding="page.embargo_date" />
<field sortorder="20" binding="page.expiry_date" />
</fieldset>
</tab>
<tab id="navigation" sortorder="40">
<fieldset id="navigation" sortorder="10">
<field sortorder="10" binding="page.navigation_title" control="textinput" />
<field sortorder="20" binding="page.exclude_from_navigation" />
<field sortorder="30" binding="page.exclude_from_sub_navigation" />
<field sortorder="40" binding="page.exclude_children_from_navigation" />
<field sortorder="50" binding="page.exclude_from_sitemap" />
</fieldset>
</tab>
<tab id="access" sortorder="50" feature="websiteUsers">
<fieldset id="access" sortorder="10">
<field sortorder="10" binding="page.access_restriction" />
</fieldset>
<fieldset id="rules" sortorder="20">
<field sortorder="10" binding="page.grantaccess_to_all_logged_in_users" />
<field sortorder="20" binding="page.full_login_required" />
<field sortorder="30" binding="page.access_condition" quickadd="true" quickedit="true" feature="rulesengine" />
<field sortorder="40" binding="page.exclude_from_navigation_when_restricted" />
<field sortorder="50" name="grant_access_to_benefits" control="objectPicker" object="website_benefit" multiple="true" required="false" label="preside-objects.page:field.grant_access_to_benefits.title" help="preside-objects.page:field.grant_access_to_benefits.help" feature="websitebenefits" />
<field sortorder="60" name="deny_access_to_benefits" control="objectPicker" object="website_benefit" multiple="true" required="false" label="preside-objects.page:field.deny_access_to_benefits.title" help="preside-objects.page:field.deny_access_to_benefits.help" feature="websitebenefits" />
<field sortorder="70" name="grant_access_to_users" control="objectPicker" object="website_user" multiple="true" required="false" label="preside-objects.page:field.grant_access_to_users.title" help="preside-objects.page:field.grant_access_to_users.help" feature="websitebenefits" />
<field sortorder="80" name="deny_access_to_users" control="objectPicker" object="website_user" multiple="true" required="false" label="preside-objects.page:field.deny_access_to_users.title" help="preside-objects.page:field.deny_access_to_users.help" feature="websitebenefits" />
</fieldset>
<fieldset id="iframe" sortorder="30">
<field sortorder="10" binding="page.iframe_restriction" />
</fieldset>
</tab>
</form>