[BUGFIX] Adapt fluid_styled_content paths in initial page 64/52364/4
authorHelmut Hummel <typo3@helhum.io>
Wed, 5 Apr 2017 07:46:12 +0000 (09:46 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 5 Apr 2017 09:25:38 +0000 (11:25 +0200)
When installing TYPO3 with the option to create a page with
TypoScript template, the template does not match the latest
state of fluid_styled_content.

Adapt path and reference the content rendering instead of copying it.

Resolves: #80685
Releases: master
Change-Id: I983dea9ba64d6fb17336828fd0212dadae557ef8
Reviewed-on: https://review.typo3.org/52364
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/install/Classes/Controller/Action/Step/DefaultConfiguration.php

index df7e03f..e3da688 100644 (file)
@@ -86,7 +86,7 @@ class DefaultConfiguration extends AbstractStepAction
                         'sitetitle' => $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'],
                         'root' => 1,
                         'clear' => 1,
-                        'include_static_file' => 'EXT:fluid_styled_content/Configuration/TypoScript/Static/,EXT:fluid_styled_content/Configuration/TypoScript/Styling/',
+                        'include_static_file' => 'EXT:fluid_styled_content/Configuration/TypoScript/,EXT:fluid_styled_content/Configuration/TypoScript/Styling/',
                         'constants' => '',
                         'config' => 'page = PAGE
 page.10 = TEXT
@@ -98,7 +98,7 @@ page.10.value (
       <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 =< styles.content.get',
                         '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.ts">.'