Flush caches for Production enviroment:
FLOW_CONTEXT=Production ./flow flow:cache:flush --force
Warmup Caches (NO backend logout):
FLOW_CONTEXT=Production ./flow cache:warmup
Create Childnodes
FLOW_CONTEXT=Production ./flow node:repair
Composer install
create-project --no-dev typo3/neos-base-distribution TYPO3-Neos
Remove a pre-defined NodeType using NEOS/Packages/Sites/Tagwork.Website/Configuration/NodeTypes.yaml
Remove Headline:
'TYPO3.Neos.NodeTypes:Headline': []
Remove AssetList:
'TYPO3.Neos.NodeTypes:AssetList': []
<a class="lightbox" href="[{media:uri.image(image:"{image.filepath}", maximumWidth: 500)}, (default)], [{media:uri.image(image:"{image.filepath}", maximumWidth: 800)}, (large)]">{media:image(asset: image.filepath, alt: "{image.label}", maximumWidth: 275)}<div><b>{image.label}</b></div><div>{image.caption}</div></a>
<media:image asset="{slide.filepath}" alt="{slide.label}" title="{slide.label}" maximumWidth="175" maximumHeight="200" />
{media:uri.image(image:"{image.filepath}", maximumWidth: 500)}
Set path to database file/url
Neos: Flow: persistence: # For a reference of the possible options, take a look at # https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html backendOptions: driver: 'pdo_sqlite' url: 'sqlite:///%FLOW_PATH_DATA%/app.db'
Make sure you create the database with this command:
./flow doctrine:create
/** * Convert array to Company Model */ $companies = []; foreach ($csv->data as $key => $company) { $array = $this->generalUtility->getArrayFields($company); $array['company']['companyData'][] = $array['companyData']; $companies[] = $array['company']; } /** * Save all companies */ foreach ($companies as $company) { $company = $this->propertyMapper->convert($company, Company::class); $this->companyRepository->add($company); }