User Tools

Site Tools


neos

NEOS

Userful commands

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

Add and remove nodes

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': []

Image Stuff

Foundation Interchange

<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>

Fluid Image helper

<media:image asset="{slide.filepath}"
   alt="{slide.label}"
   title="{slide.label}"
   maximumWidth="175"
   maximumHeight="200" />

Inline Image URI

{media:uri.image(image:“{image.filepath}”, maximumWidth: 500)}

neos.txt · Last modified: 2015/10/03 23:44 by admin