User Tools

Site Tools


neos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
neos [2014/06/23 11:35] – created adminneos [2019/02/11 11:45] – [Foundation Interchange] admin
Line 6: Line 6:
  
   FLOW_CONTEXT=Production ./flow flow:cache:flush --force   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 ====
 +
 +<code html>
 +<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>
 +</code>
 +
 +=== Fluid Image helper ===
 +<code html>
 +<media:image asset="{slide.filepath}"
 +   alt="{slide.label}"
 +   title="{slide.label}"
 +   maximumWidth="175"
 +   maximumHeight="200" />
 +</code>
 +
 +=== Inline Image URI ===
 +
 +<code>
 +{media:uri.image(image:"{image.filepath}", maximumWidth: 500)}
 +</code>
 +
 +
 +==== Use sqlite ====
 +
 +Set path to database ''file/url''
 +
 +<code yaml>
 +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'
 +</code>
 +
 +Make sure you create the database with this command:
 +
 +<code bash>
 +./flow doctrine:create
 +</code>
neos.txt · Last modified: 2019/02/14 13:18 by admin