This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| neos [2014/06/30 21:16] – admin | neos [2019/02/14 12:18] (current) – [Use sqlite] admin | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| FLOW_CONTEXT=Production ./flow cache: | FLOW_CONTEXT=Production ./flow cache: | ||
| + | |||
| + | Create Childnodes | ||
| + | |||
| + | FLOW_CONTEXT=Production ./flow node:repair | ||
| + | |||
| + | Composer install | ||
| + | |||
| + | create-project --no-dev typo3/ | ||
| + | | ||
| + | ===== Add and remove nodes ===== | ||
| + | |||
| + | Remove a pre-defined NodeType using NEOS/ | ||
| + | |||
| + | Remove Headline: | ||
| + | |||
| + | ' | ||
| + | |||
| + | Remove AssetList: | ||
| + | |||
| + | ' | ||
| + | | ||
| + | ===== Image Stuff ===== | ||
| + | |||
| + | ==== Foundation Interchange ==== | ||
| + | |||
| + | <code html> | ||
| + | <a class=" | ||
| + | </ | ||
| + | |||
| + | === Fluid Image helper === | ||
| + | <code html> | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | === Inline Image URI === | ||
| + | |||
| + | < | ||
| + | {media: | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Use sqlite ==== | ||
| + | |||
| + | Set path to database '' | ||
| + | |||
| + | <code yaml> | ||
| + | Neos: | ||
| + | Flow: | ||
| + | persistence: | ||
| + | # For a reference of the possible options, take a look at | ||
| + | # https:// | ||
| + | backendOptions: | ||
| + | driver: ' | ||
| + | url: ' | ||
| + | </ | ||
| + | |||
| + | Make sure you create the database with this command: | ||
| + | |||
| + | <code bash> | ||
| + | ./flow doctrine: | ||
| + | </ | ||
| + | |||
| + | ===== Sample map properties ===== | ||
| + | |||
| + | <code php> | ||
| + | /** | ||
| + | * Convert array to Company Model | ||
| + | */ | ||
| + | $companies = []; | ||
| + | foreach ($csv-> | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | |||
| + | /** | ||
| + | * Save all companies | ||
| + | */ | ||
| + | foreach ($companies as $company) { | ||
| + | $company = $this-> | ||
| + | $this-> | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | |||