Closed typecat closed 2 years ago
Hey @typecat ,
I recently experienced the same topic in a v11 project. What I did:
But this depends on the use-case.
In some projects, I do have a site package per pagetree, where the site packages only extend the "my_base_site" TypoScript (via "@import") and only override the values needed.
Hi @typecat use one site-package and use site-settings instead of TypoScript Constants (can also be used in PageTs), s. https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SiteHandling/SiteSettings.html
Thanks @bmack, I wasn't aware of the site settings - great!
Unfortunately now I'm stuck with a different issue: I'm using the lib.dynamicContent of EXT:bootstrap_package (but not the extension itself) to render a column's content elements. The HTML of RTE formatted text fields (e.g. CType text) is rendered as a string, which results in the markup being displayed in the frontend.
I checked:
lib.parseFunc
and lib.parseFunc_RTE
configurations are includedf:format.html
The setup works perfectly without bolt. Do you have an idea what I might be doing wrong?
I found the problem, it was in my includes structure. The setup works fine now! Sorry for bothering >.<
I very much would love to use this extension in a huge project with multiple websites. The particular use case is, that they all share the same sitepackage, because it's only a few site tree specific overrides (like TypoScript constants or PAGE_TSCONFIG_ID) per package. So far I stored those overrides in a specific sub-folder inside the sitepackage and included the file in the TypoScript Template Object record, e.g.
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:my_sitepackage/Configuration/TypoScript/sites/website-a/constants.typoscript">
Unfortunately, the paths where bolt looks for configuration are fixed. So here's my question:
Is it possible to make them adjustable? Or, what would be a better way to handle this (except having a sitepackage per site tree, because I don't see a benefit in having 20 site packages with only some constant overrides inside)?