Hi,
I created a new Site package (from the Neos backend). No settings.yaml or policy.yaml were generated.
Everthing seems to be fine, so I started developing.
I have a Homepage similar to the Neos demo site, some other custom pages and content elements.
When I started to work on the Hompage, I saw that the ContentCollection ‘main’ was there twice.
This page can’t be deleted or changed, to another Type, to get rid of it.
I exported the site. please find the relevant snipped below.
I think, the brand new site has a documentNode in the content dimension ‘en_US’ (with ‘main’).
I had no content dimension adjusted, when changing this nodeType into ‘Homepage’ (second ‘main’) and all the rest of the site.
So: I’ve to clean up the mess. My aim is it to have the content dimension language set to the fixed value ‘de_DE’.
Like this I have the backend UI translated to german. Other languages are not planned yet.
So what is the best way to solve this?
- removing the ‘en_US’-stuff by hand from the XML
- re-importing the XML
- the misterious
./flow node:migrate 20150716212459
But then??
Can someone tell me?
Klaus
P.S.
There should be a settings.yaml file with the basic content dimension language (e.g. DE/EN) configuration, when a new site package is created.
<root>
<site name="energiegewinner.de" state="1" siteResourcesPackageKey="Eg.Website" siteNodeName="website">
<nodes formatVersion="2.0">
<node identifier="135b866b-b20e-4a58-aec9-69d0d7443935" nodeName="website">
<variant sortingIndex="100" workspace="live" nodeType="TYPO3.Neos.NodeTypes:Page" version="1" removed="" hidden="" hiddenInIndex="">
<dimensions>
<language>en_US</language>
</dimensions>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T12:26:27+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T12:26:27+00:00</lastModificationDateTime>
<properties>
<title __type="string">Home</title>
<uriPathSegment __type="string">home</uriPathSegment>
</properties>
</variant>
<variant sortingIndex="100" workspace="live" nodeType="Eg.Website:HomePage" version="2" removed="" hidden="" hiddenInIndex="">
<dimensions/>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:06+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:19+00:00</lastModificationDateTime>
<lastPublicationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:19+00:00</lastPublicationDateTime>
<properties>
<title __type="string">Home</title>
<uriPathSegment __type="string">home</uriPathSegment>
<canonicalLink __type="string"/>
</properties>
</variant>
<node identifier="0fe750fb-4e12-40b3-da41-0e2b023e51d0" nodeName="footer">
<variant sortingIndex="200" workspace="live" nodeType="TYPO3.Neos:ContentCollection" version="3" removed="" hidden="" hiddenInIndex="">
<dimensions/>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:06+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T15:49:18+00:00</lastModificationDateTime>
<lastPublicationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:19+00:00</lastPublicationDateTime>
<properties/>
</variant>
<node identifier="f0a30ca4-0e0c-4923-82de-175be356288a" nodeName="node-577d098b9935d">
<variant sortingIndex="100" workspace="live" nodeType="TYPO3.Neos.NodeTypes:Text" version="7" removed="" hidden="" hiddenInIndex="">
<dimensions/>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T13:37:15+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T13:37:43+00:00</lastModificationDateTime>
<lastPublicationDateTime __type="object" __classname="DateTime">2016-07-06T13:37:43+00:00</lastPublicationDateTime>
<properties>
<text __type="string"><p>Gemeinsamer Text im Footer</p></text>
</properties>
</variant>
</node>
</node>
<node identifier="3a06d642-9c4f-4a5a-adac-ffb926754145" nodeName="main">
<variant sortingIndex="100" workspace="live" nodeType="TYPO3.Neos:ContentCollection" version="1" removed="" hidden="" hiddenInIndex="">
<dimensions>
<language>en_US</language>
</dimensions>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T12:26:27+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T12:26:27+00:00</lastModificationDateTime>
<properties/>
</variant>
</node>
<node identifier="97ea63aa-5d93-7b83-335e-ed8b666402c1" nodeName="main">
<variant sortingIndex="100" workspace="live" nodeType="TYPO3.Neos:ContentCollection" version="3" removed="" hidden="" hiddenInIndex="">
<dimensions/>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:06+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T15:49:18+00:00</lastModificationDateTime>
<lastPublicationDateTime __type="object" __classname="DateTime">2016-07-06T13:18:19+00:00</lastPublicationDateTime>
<properties/>
</variant>
<node identifier="df8b3211-dae3-45b3-b1ab-e3e7488d6787" nodeName="text1">
<variant sortingIndex="100" workspace="live" nodeType="TYPO3.Neos.NodeTypes:Text" version="1" removed="" hidden="" hiddenInIndex="">
<dimensions>
<language>en_US</language>
</dimensions>
<accessRoles __type="array"/>
<creationDateTime __type="object" __classname="DateTime">2016-07-06T12:26:27+00:00</creationDateTime>
<lastModificationDateTime __type="object" __classname="DateTime">2016-07-06T12:26:27+00:00</lastModificationDateTime>
<properties>
<text __type="string"><p>This is the homepage</p></text>
</properties>
</variant>
</node>
</node>