- 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="relative" style="padding-top: 56.25%"> | |
<iframe class="absolute inset-0 w-full h-full" src="https://www.youtube-nocookie.com/embed/FMrtSHAAPhM" frameborder="0" …></iframe> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration/Development/Webpack/Settings.yaml | |
Neos: | |
Flow: | |
http: | |
baseUri: 'http://localhost:3000/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototype(Your.Site:AbstractPage) < prototype(Page) { | |
head { | |
headTags = ${' | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
'} | |
stylesheets { | |
css = Neos.Fusion:Tag { | |
tagName = 'link' | |
attributes { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Classes/Finishers/CustomFormFinisher.php | |
namespace UnWomen\Website\Finishers; | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Form\Core\Model\AbstractFinisher; | |
use Neos\Form\Exception\FinisherException; | |
use Neos\FluidAdaptor\View\StandaloneView; | |
use Neos\SwiftMailer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync: | |
rsync -avzu --delete --progress -h \ | |
--exclude 'Makefile' \ | |
--exclude '.git' \ | |
--exclude '/.env' \ | |
--exclude '/public/.htaccess' \ | |
--exclude '/database/database.sqlite' \ | |
--exclude '/public/storage' \ | |
--exclude '/bootstrap/cache' \ | |
--exclude 'storage/framework/*' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="navigation__language"> | |
<?php | |
foreach($languages as $language) { | |
if(!$page->viewable($language)) continue; | |
$class = "$language" == "$user->language" ? "navigation__current" : ""; | |
$url = $page->localUrl($language); | |
echo "<li class='$class'><a title='$language->title' href='$url'>$language->title</a></li>"; | |
} | |
?> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync: | |
rsync -avzuhO --delete \ | |
--exclude '.git*' \ | |
--exclude '.DS_Store' \ | |
--exclude 'Makefile' \ | |
--exclude '/src' \ | |
--exclude '/node_modules' \ | |
--exclude '/site/config.php' \ | |
--exclude '/site/assets/sessions' \ | |
--exclude '/site/assets/files' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "scotch/box" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.hostname = "scotchbox" | |
config.vm.synced_folder ".", "/var/www/public", :mount_options => ["dmode=777", "fmode=666"] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class SvgSpriteEmbed { | |
constructor(url) { | |
var ajax = new XMLHttpRequest(); | |
ajax.open("GET", url, true); | |
ajax.responseType = "document"; | |
ajax.onload = function(e) { | |
var element = ajax.responseXML.documentElement; | |
element.setAttribute("class", "u-hidden-visually"); | |
document.body.insertBefore(element, document.body.childNodes[0]); | |
} |
NewerOlder