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:33)
|
||||
plugin:
|
||||
tx_epproducts:
|
||||
persistence:
|
||||
storagePid: '11'
|
||||
settings:
|
||||
conceptsStoragePid: '12'
|
||||
defaultDetailPageUid: '300'
|
||||
defaultSearchPageUid: '41'
|
||||
defaultStaticSearchPageUid: '1838'
|
||||
destinationsStoragePid: '1'
|
||||
excludedConceptUids: '8'
|
||||
excludedRegionUids: '16,19,20,21,26'
|
||||
factsStoragePid: '6'
|
||||
faqsStoragePid: '7'
|
||||
hotelsStoragePid: '5'
|
||||
noInfoConceptUids: '11,13'
|
||||
officetipStoragePid: '301'
|
||||
productsStoragePid: '8'
|
||||
searchLogIgnoreIps: 80.147.68.43
|
||||
snowReportStoragePid: '11'
|
||||
teammemberStoragePid: '36'
|
||||
tx_eptheme:
|
||||
settings:
|
||||
badgeStoragePid: '1331'
|
||||
blogDetailPageUid: '1392'
|
||||
blogTagListPageUid: '1391'
|
||||
bookingLinksPid: '634'
|
||||
businessHoursTime: '09:00 - Nov.-März bis 17:30 / Apr.-Okt. bis 16:00'
|
||||
conceptsPageUid: '20'
|
||||
contactFormToEmail: [email protected]
|
||||
contactFormToName: Gruppen
|
||||
cookiePolicyPageUid: '826'
|
||||
cookiefirstKey: fabb1554-8932-4075-85dc-97fa68892918
|
||||
coronaUpdatesPageUid: '1939'
|
||||
dataProtectionPageUid: '355'
|
||||
defaultAjaxUid: '855'
|
||||
defaultContactFormPageUid: '576'
|
||||
defaultHomeUid: '9'
|
||||
disrupterStoragePid: '1927'
|
||||
enableContactFormAutoreply: '0'
|
||||
facebookUrl: 'https://www.facebook.com/ep.reisen.events'
|
||||
faqPageUid: '357'
|
||||
faviconAppTitle: CLLT-Touristik
|
||||
faviconPath: fileadmin/user_upload/favicon/cllt
|
||||
footerNavPid: '384'
|
||||
fullWidthPlugins: 'epproducts_faq,epproducts_country_detail,epproducts_product_detail,epproducts_region_detail,epproducts_city_detail,epproducts_hotel_detail,epproducts_searchresult,epproducts_concept_detail'
|
||||
googleMapsJsApiUrl: 'https://maps.googleapis.com/maps/api/js?key=AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY'
|
||||
googleSiteVerification: j7lKGq41sPgQ1dryntHHTQJzpbdDDIW0DollbKa4JLY
|
||||
googleStaticMapsBaseUrl: 'https://maps.googleapis.com/maps/api/staticmap?key=AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY'
|
||||
googleTagManagerId: GTM-56LWRF
|
||||
groupsContactFormPageUid: '543'
|
||||
groupsPageUid: '16'
|
||||
groupsPricePopupPageUid: '1910'
|
||||
hideSearchbar: '1'
|
||||
imageCreditsPageUid: '356'
|
||||
infoPageUid: '21'
|
||||
instagramUrl: 'https://www.instagram.com/ep_reisen/'
|
||||
legalNoticePageUid: '344'
|
||||
mainNavPid: '13'
|
||||
mobileNavPid: '9'
|
||||
myEpPageUid: '1631'
|
||||
phoneNumberLink: '+4922127227630'
|
||||
ratingPageUid: '1304'
|
||||
ratingWidgetLabel: Reisebewertung
|
||||
searchPageHeaderImage: fileadmin/user_upload/Header/ski-urlaub-guenstig-gipfel.jpg
|
||||
skipassPageUid: '442'
|
||||
sliderStoragePid: '463'
|
||||
teamMemberStoragePid: '36'
|
||||
teaserTextMaxChars: '110'
|
||||
termsAndConditionsPageUid: '342'
|
||||
topNavPid: '9'
|
||||
travelAlertPageUid: '1424'
|
||||
twitterUrl: 'https://twitter.com/epreisen'
|
||||
vimeoUrl: 'https://vimeo.com/epreisen'
|
||||
watchlistPageUid: '1577'
|
||||
xmlSitemapExcludeUids: '536,608,855,854,41,42,300,1293,1577,1609,1606,1483,1228,1392,1391,1610'
|
||||
xmlSitemapRootPageUid: '9'
|
||||
youtubeUrl: 'https://www.youtube.com/user/epreisende'
|
||||
tx_eptrack:
|
||||
persistence:
|
||||
storagePid: '651'
|
||||
Reference in new issue
Block a user