- Official Documentation http://neos.readthedocs.io
- Neos Demo website source https://github.com/neos/Neos.Demo
- Neos.io website source https://github.com/neos/Neos.NeosIo/tree/master/Packages/Sites/Neos.NeosIo
- Basic NodeTypes source https://github.com/neos/neos-development-collection/tree/master/Neos.NodeTypes
- Tasty Recipes for Every Day (Neos) https://speakerdeck.com/aertmann/tasty-recipes-for-every-day-neos
- Tasty Recipes for Every Day 2016 (Neos) http://www.slideshare.net/Sebobo/tasty-recipes-for-every-day-2016-neos
- Aertmann gists https://gist.github.com/aertmann
- Available backend icons http://fontawesome.io/3.2.1/icons/
- NGINX config https://discuss.neos.io/t/add-nginx-configuration-infos/344/5
- Best practice Boilerplate https://github.com/Flowpack/fusion-bp
- Logicless templates, smart Fusion objects http://dimaip.github.io/2016/10/21/logicless-templates-with-fusion/
- Cache Buster https://github.com/mrimann/CacheBreaker
- Frontend User Registration Login etc. https://github.com/sandstorm/UserManagement
- Anchor Links in Menu https://github.com/1drop/Onedrop.SectionMenu
- Form Finishers https://github.com/webexcess/WebExcess.Form
- More or less all packages from https://github.com/ttreeagency
composer create-project --no-dev --no-install neos/neos-base-distribution #FOLDER#
cd #FOLDER#
composer remove neos/setup neos/demo flowpack/neos-frontendlogin
cp Configuration/Settings.yaml.example Configuration/Settings.yaml
cp Configuration/Development/Settings.yaml.example Configuration/Development/Settings.yaml
Create a database and edit Configuration/Settings.yaml
and Configuration/Development/Settings.yaml
accordingly.
./flow doctrine:migrate
./flow kickstart:site
./flow site:create
./flow user:create --roles=Administrator
// Configuration/NodeTypes.yaml
'Neos.Neos:ContentCollection':
constraints:
nodeTypes:
'Neos.NodeTypes:TextWithImage': false
'Neos.NodeTypes:ContentReferences': false
'Neos.NodeTypes:AssetList': false
'Neos.NodeTypes:Menu': false
'Neos.NodeTypes:FourColumn': false
// Resources/Private/Fusion/root.fusion
page = Neos.Neos:Page {
head {
metadata = Neos.Fusion:Template {
templatePath = 'resource://My.Site/Private/Templates/Page/Default.html'
sectionName = 'metadata'
}
}
<!-- Resources/Private/Templates/Page/Default.html -->
<head>
<f:section name="metadata">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</f:section>
</head>
<!-- Resources/Private/Templates/Page/Default.html -->
<f:section name="stylesheets">
<link rel="stylesheet" href="{f:uri.resource(path: 'Styles/main.css', package: 'RDB.UNWomenUK', localize: false)}" media="all" />
</f:section>
<f:section name="bodyScripts">
<script type="text/javascript" src="{f:uri.resource(path: 'JavaScript/main.js', package: 'UnWomen.Website', localize: false)}"></script>
</f:section>
http://neos.readthedocs.io/en/stable/CreatingASite/NodeTypes/NodeTypeDefinition.html
ui:
aloha:
'format': []
'table': []
'link': []
'list': []
'alignment': []
'formatlesspaste':
'button': false
'formatlessPasteOption': true
'Neos.Neos:Node':
options:
fusion:
prototypeGenerator: ~
title = Neos.Fusion:Tag {
tagName = 'span'
content = ${q(node).property('title')}
@process.contentElementEditable = ContentElementEditable {
property = 'title'
}
}
prototype(My.Website:Button) < prototype(Neos.Fusion:Tag) {
attributes.class = 'btn btn--primary'
content = ${q(node).property('text')}
attributes.href = ${q(node).property('link')}
[email protected] = Neos.Neos:ConvertUris
tagName = Neos.Fusion:Case {
inBackend {
condition = ${q(node).context.inBackend}
renderer = ${'span'}
}
notInBackend {
condition = ${true}
renderer = ${'a'}
}
}
attributes.target = '_blank'
[email protected] = ${q(node).property('target') == 'blank'}
@process.contentElementWrapping = ContentElementWrapping
@process.layout = Neos.Fusion:Tag{
tagName = 'div'
content = ${value}
attributes.style = 'text-align:center'
}
@[email protected] = ${q(node).property('centered')}
}