-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Add working TSconfig examples
- Loading branch information
Showing
4 changed files
with
41 additions
and
19 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...ckage_tutorial/13.4/src/Configuration/Sets/SitePackage/PageTsConfig/general.tsconfig.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
TCEFORM { | ||
pages { | ||
# Hide "Frontend Layout" field as we use the "Backend Layout" for the complete layout | ||
layout { | ||
disabled = 1 | ||
} | ||
} | ||
tt_content { | ||
header_layout { | ||
# Prevent H1 headlines in content elements | ||
removeItems = 1 | ||
} | ||
} | ||
} | ||
|
||
TCEMAIN { | ||
pages { | ||
# Pages will *not* have "(copy)" appended: | ||
disablePrependAtCopy = 1 | ||
# Pages will *not* be hidden upon copy: | ||
disableHideAtCopy = 1 | ||
} | ||
tt_content { | ||
# Content will *not* have "(copy)" appended: | ||
disablePrependAtCopy = 1 | ||
} | ||
} |
20 changes: 1 addition & 19 deletions
20
...packages/site_package_tutorial/13.4/src/Configuration/Sets/SitePackage/page.tsconfig.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
@import './PageTsConfig/' | ||
@import './PageTsConfig/BackendLayouts/' | ||
|
||
RTE { | ||
default { | ||
preset = {{ package.extensionKey }} | ||
} | ||
} | ||
|
||
TCEFORM { | ||
pages { | ||
|
||
} | ||
tt_content { | ||
|
||
} | ||
} | ||
|
||
TCEMAIN { | ||
|
||
} | ||
|
13 changes: 13 additions & 0 deletions
13
resources/packages/site_package_tutorial/13.4/src/Configuration/user.tsconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
options { | ||
clearCache { | ||
pages = 1 | ||
} | ||
pageTree { | ||
showDomainNameWithTitle = 1 | ||
showPageIdWithTitle = 1 | ||
} | ||
sites { | ||
# These sets are already included, therefore hide them in the site configuration set editor | ||
hideSets := addToList(typo3/fluid-styled-content,typo3/fluid-styled-content-css) | ||
} | ||
} |
Empty file removed
0
resources/packages/site_package_tutorial/13.4/src/Resources/Public/Css/layout.css
Empty file.