Skip to content

Commit

Permalink
[TASK] Replace styles.content.get in Install Tool created TS
Browse files Browse the repository at this point in the history
Use cObject CONTENT directly instead of using styles.content.get

Resolves: #87886
Releases: master
Change-Id: I68df06ca1a3aca2b1545efb343c8474c60da228b
Reviewed-on: https://review.typo3.org/c/60154
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Joerg Kummer <typo3@enobe.de>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
  • Loading branch information
georgringer authored and liayn committed Mar 11, 2019
1 parent 4ce666a commit b65e5eb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion typo3/sysext/install/Classes/Controller/InstallerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,15 @@ public function executeDefaultConfigurationAction(ServerRequestInterface $reques
<h4 style="font-family: sans-serif;">Welcome to a default website made with <a href="https://typo3.org">TYPO3</a></h4>
</div>
)
page.100 =< styles.content.get',
page.100 = CONTENT
page.100 {
table = tt_content
select {
orderBy = sorting
where = {#colPos}=0
}
}
',
'description' => 'This is an Empty Site Package TypoScript template.
For each website you need a TypoScript template on the main page of your website (on the top level). For better maintenance all TypoScript should be extracted into external files via <INCLUDE_TYPOSCRIPT: source="FILE:EXT:site_myproject/Configuration/TypoScript/setup.typoscript">.'
Expand Down

0 comments on commit b65e5eb

Please sign in to comment.