- definitions singleton controller (theme default, first or create) with a repeater on data: type dropdown (url plus registry types), reference dependsOn type through signpost.ReferenceOptions - Settings page entries: Sitemap (link to the controller) and Sitemap settings (form), both behind golem15.sitemap.access_definitions - en and pl phrasebooks with the PHP keys - README with the PHP parity rules, tiers, hooks, commands and the Winter YAML adaptations - TestSitemapAdminSmoke: singleton, PHP-keyed rows, 422 on a foreign reference, settings save, 403 without the permission
69 lines
2.2 KiB
YAML
69 lines
2.2 KiB
YAML
# ===================================
|
|
# Form Field Definitions
|
|
# ===================================
|
|
#
|
|
# The WinterCMS form's nginx hint and Priority Tiers section are field
|
|
# comments and README text here, and the tier fields always show (the
|
|
# trigger on enable_priority_tiers is not ported).
|
|
|
|
fields:
|
|
frontend_url:
|
|
label: golem15.sitemap::lang.settings.frontend_url
|
|
comment: golem15.sitemap::lang.settings.frontend_url_comment
|
|
type: text
|
|
span: left
|
|
|
|
frontend_default_locale:
|
|
label: golem15.sitemap::lang.settings.frontend_default_locale
|
|
comment: golem15.sitemap::lang.settings.frontend_default_locale_comment
|
|
type: text
|
|
span: right
|
|
|
|
updates_manifest_path:
|
|
label: golem15.sitemap::lang.settings.updates_manifest_path
|
|
comment: golem15.sitemap::lang.settings.updates_manifest_path_comment
|
|
type: text
|
|
span: full
|
|
|
|
enable_priority_tiers:
|
|
label: golem15.sitemap::lang.settings.enable_priority_tiers
|
|
comment: golem15.sitemap::lang.settings.enable_priority_tiers_comment
|
|
type: checkbox
|
|
default: true
|
|
span: full
|
|
|
|
priority_homepage:
|
|
label: golem15.sitemap::lang.settings.priority_homepage
|
|
comment: golem15.sitemap::lang.settings.priority_homepage_comment
|
|
type: text
|
|
default: '1.0'
|
|
span: auto
|
|
|
|
priority_services:
|
|
label: golem15.sitemap::lang.settings.priority_services
|
|
comment: golem15.sitemap::lang.settings.priority_services_comment
|
|
type: text
|
|
default: '0.8'
|
|
span: auto
|
|
|
|
priority_blog:
|
|
label: golem15.sitemap::lang.settings.priority_blog
|
|
comment: golem15.sitemap::lang.settings.priority_blog_comment
|
|
type: text
|
|
default: '0.6'
|
|
span: auto
|
|
|
|
priority_categories:
|
|
label: golem15.sitemap::lang.settings.priority_categories
|
|
comment: golem15.sitemap::lang.settings.priority_categories_comment
|
|
type: text
|
|
default: '0.4'
|
|
span: auto
|
|
|
|
priority_legal:
|
|
label: golem15.sitemap::lang.settings.priority_legal
|
|
comment: golem15.sitemap::lang.settings.priority_legal_comment
|
|
type: text
|
|
default: '0.2'
|
|
span: auto
|