feat: site settings are edited in the backend, per environment
The constants of the sites become editable in Site Management >
Settings (admins only in TYPO3 13.4). settings.definitions.yaml of the
set ep/theme defines all 116 constants plus googleTagManagerId, with the
labels and categories of their constant editor annotations and today's
constants.typoscript values as defaults. Every setting is a string,
yes/no ones with a select of exactly '0' and '1': a bool setting would
hand '' instead of '0' to TypoScript.
config/sites/*/settings.yaml become shared files on the server and leave
git, like settings.php: production is leading, so backend edits survive
deploys, and each environment keeps its own values. Nine settings nobody
reads (twitterUrl, vimeoUrl, cookiefirstKey, ...) were dropped locally;
on production they stay in the seeded files until removed there.
deploy:check:site-settings aborts before anything else touches the
server if one of the shared files is missing or empty: deploy:shared
would create it empty, silently resetting that site to the defaults.
Rollout, after the site set is live: seed the shared files from the
live release once, then deploy:
cd <deploy_path> && for f in current/config/sites/*/settings.yaml; do
mkdir -p "shared/${f#current/}" && rmdir "shared/${f#current/}" &&
cp -p "$f" "shared/${f#current/}"; done
Verified locally: the resolved setup of 43 pages is unchanged and only
the nine unused constants are gone (switched state); the root template
state is unchanged; all 1912 frontend URLs are identical.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
26a7d5f78a
commit
863dd9de1a
11 files changed
+665
-600
No files matched your search
@@ -1,82 +0,0 @@
|
||||
# Formerly the constants of the root TypoScript template (sys_template:7)
|
||||
plugin:
|
||||
tx_epproducts:
|
||||
persistence:
|
||||
storagePid: '11'
|
||||
settings:
|
||||
bookingPageUid: '556'
|
||||
conceptsStoragePid: '12'
|
||||
defaultDetailPageUid: '300'
|
||||
defaultSearchPageUid: '41'
|
||||
destinationsStoragePid: '1'
|
||||
excludedConceptUids: '8'
|
||||
factsStoragePid: '6'
|
||||
faqsStoragePid: '7'
|
||||
hotelsStoragePid: '5'
|
||||
myEpUrl: 'https://my.ski-boarderweek.de'
|
||||
officetipStoragePid: '301'
|
||||
priceTableRoomTypes: '1,2,3,4,5,6,7,8,9,10,12,14,16'
|
||||
productsStoragePid: '8'
|
||||
snowReportStoragePid: '11'
|
||||
teammemberStoragePid: '36'
|
||||
tx_eptheme:
|
||||
settings:
|
||||
badgeStoragePid: '1331'
|
||||
bpnBookingUrlTemplateCode: sbw
|
||||
businessHoursTime: '09:00 - Nov.-März bis 17:30 / Apr.-Okt. bis 16:00'
|
||||
canonicalBaseUrl: 'https://www.ski-boarderweek.de'
|
||||
contactFormToEmail: [email protected]
|
||||
contactFormToName: Ski-Boarderweek
|
||||
cookieFirstKey: 98ec7925-dcba-434a-b313-f068669bf0a8
|
||||
cookieFirstScriptUrl: 'https://consent.cookiefirst.com/sites/ski-boarderweek.de-98ec7925-dcba-434a-b313-f068669bf0a8/consent.js'
|
||||
cookiefirstKey: 98ec7925-dcba-434a-b313-f068669bf0a8
|
||||
dataProtectionPageUid: '1454'
|
||||
defaultAjaxUid: '880'
|
||||
defaultBodyclass: 'ep-core-events boarderweek'
|
||||
defaultHomeUid: '24'
|
||||
disrupterStoragePid: '1927'
|
||||
eventDateDayFrom: '12.'
|
||||
eventDateDayTo: '19.'
|
||||
eventDateMonth: 'Dez. 26'
|
||||
eventDisturberButtonLabel: 'Ab 499 € - Jetzt buchen'
|
||||
eventDisturberButtonLink: '142'
|
||||
eventDisturberHeadline: 'Ski & Boarderweek<br />Val Thorens'
|
||||
eventDisturberListitems: '7 Übernachtungen in Apartments;6 Tage Skipass Val Thorens;Eventticket'
|
||||
eventHeroClaim: snow.<br>party.<br>event.
|
||||
eventHeroDescription: 'Das Skifestival im Mega-Skigebiet Trois Vallées! Feiern und wohnen direkt an der Piste!'
|
||||
facebookUrl: 'https://de-de.facebook.com/skiboarderweek/'
|
||||
facebookViewContentNameInternal: 'Ski & Boarderweek'
|
||||
facebookViewContentProductUid: '301'
|
||||
faviconAppTitle: 'Ski&Boarderweek'
|
||||
faviconPath: fileadmin/user_upload/favicon/sbw
|
||||
footerNavPid: '735'
|
||||
forceActiveTopnavUid: '15'
|
||||
forcePartnerIdSelect: '0'
|
||||
fullWidthPlugins: 'epproducts_faq,epproducts_country_detail,epproducts_product_detail,epproducts_region_detail,epproducts_city_detail,epproducts_hotel_detail,epproducts_searchresult,epproducts_concept_detail,epproducts_product_pricetable'
|
||||
googleSiteVerification: GgGPpPRW5r68yUU80b_E7nfC2E_s_v4jD8aHuQz-HDA
|
||||
googleTagManagerId: GTM-MS2C8CH
|
||||
imageCreditsPageUid: '1455'
|
||||
infoPageUid: '21'
|
||||
instagramUrl: 'https://www.instagram.com/ski_boarderweek/'
|
||||
legalNoticePageUid: '344'
|
||||
logoImage: 'EXT:ep_theme/Resources/Public/images/logo_boarderweek.svg'
|
||||
mainNavPid: '24'
|
||||
mapApiKey: abc9fe79dbf24ac69f6901962eb378f9
|
||||
mapTileUrl: 'https://api-eu.geoapify.com/v1/tile/osm-bright/{z}/{x}/{y}.png'
|
||||
mobileNavPid: '24'
|
||||
myEpPageUid: 'https://my.ep-reisen.de'
|
||||
phoneNumber: '0221 - 272 276 47'
|
||||
phoneNumberLink: '+4922127227647'
|
||||
sliderStoragePid: '463'
|
||||
styleSheet: 'EXT:ep_theme/Resources/Public/css/snowzone.min.css'
|
||||
teamMemberStoragePid: '36'
|
||||
teaserTextMaxChars: '110'
|
||||
termsAndConditionsPageUid: '342'
|
||||
themekey: sbw
|
||||
topNavPid: '9'
|
||||
twitterUrl: 'https://twitter.com/epreisen'
|
||||
vimeoUrl: 'https://vimeo.com/epreisen'
|
||||
whatsApp: ''
|
||||
xmlSitemapExcludeUids: '832,880'
|
||||
xmlSitemapRootPageUid: '24'
|
||||
youtubeUrl: 'https://www.youtube.com/user/epreisende'
|
||||
Reference in new issue
Block a user