diff --git a/Configuration/Settings.Neos.yaml b/Configuration/Settings.Neos.yaml index badb86f9..5952be79 100644 --- a/Configuration/Settings.Neos.yaml +++ b/Configuration/Settings.Neos.yaml @@ -17,8 +17,12 @@ Neos: nodeTypes: groups: + special: + position: end 100 + label: 'Neos.Demo:Main:nodeTypes.groups.special' + collapsed: false forms: - position: end + position: end 200 label: 'Neos.Demo:Main:nodeTypes.groups.forms' collapsed: false diff --git a/NodeTypes/Document/Blog/Blog.fusion b/NodeTypes/Document/Blog/Blog.fusion index e1d689df..3ad0e8cb 100644 --- a/NodeTypes/Document/Blog/Blog.fusion +++ b/NodeTypes/Document/Blog/Blog.fusion @@ -12,6 +12,7 @@ prototype(Neos.Demo:Document.Blog) < prototype(Neos.Demo:Document.LandingPage) { } } + # content is overwritten to render a list of cards for the latest 10 blog postings content > content = Neos.Fusion:Join { @@ -19,6 +20,8 @@ prototype(Neos.Demo:Document.Blog) < prototype(Neos.Demo:Document.LandingPage) { intro = Neos.Fusion:Loop { items = ${q(documentNode).children('[instanceof Neos.Demo:Document.BlogPosting]').sort("datePublished", "DESC").get()} itemName = 'blogPosting' + + # @todo the teaser should be made pretty and extracted as presentational component itemRenderer = afx` diff --git a/NodeTypes/Document/Blog/Blog.yaml b/NodeTypes/Document/Blog/Blog.yaml index 02378080..49038c90 100644 --- a/NodeTypes/Document/Blog/Blog.yaml +++ b/NodeTypes/Document/Blog/Blog.yaml @@ -10,6 +10,7 @@ label: i18n icon: 'newspaper' position: 300 + group: special help: message: 'A blog' constraints: diff --git a/NodeTypes/Document/Blog/BlogPosting.fusion b/NodeTypes/Document/Blog/BlogPosting.fusion index 60d4c137..c4cb4f3b 100644 --- a/NodeTypes/Document/Blog/BlogPosting.fusion +++ b/NodeTypes/Document/Blog/BlogPosting.fusion @@ -23,13 +23,9 @@ prototype(Neos.Demo:Document.BlogPosting) < prototype(Neos.Demo:Document.Page) { content > content = Neos.Fusion:Join { - image = Neos.Neos:ImageTag { - asset = ${q(node).property('image')} - maximumWidth = 1000 - maximumHeight = 200 - } - + # @todo the intro should be made pretty and extracted as presentational component intro = afx` +

{Date.format(q(node).property('datePublished'), 'd.m.Y')} - {q(node).property('authorName')}

diff --git a/NodeTypes/Document/Blog/BlogPosting.yaml b/NodeTypes/Document/Blog/BlogPosting.yaml index 5e4fb3f7..dea3369f 100644 --- a/NodeTypes/Document/Blog/BlogPosting.yaml +++ b/NodeTypes/Document/Blog/BlogPosting.yaml @@ -10,6 +10,7 @@ label: i18n icon: 'file-alt' position: 300 + group: special help: message: 'A blog posting' constraints: diff --git a/NodeTypes/Document/Book/Book.yaml b/NodeTypes/Document/Book/Book.yaml index 58f6f7e8..74da48c0 100644 --- a/NodeTypes/Document/Book/Book.yaml +++ b/NodeTypes/Document/Book/Book.yaml @@ -9,6 +9,7 @@ label: i18n icon: 'book' position: 300 + group: special help: message: 'A book which can have chapters.' constraints: diff --git a/NodeTypes/Document/Chapter/Chapter.yaml b/NodeTypes/Document/Chapter/Chapter.yaml index 95ae6f16..16d3b5cd 100644 --- a/NodeTypes/Document/Chapter/Chapter.yaml +++ b/NodeTypes/Document/Chapter/Chapter.yaml @@ -14,6 +14,7 @@ icon: 'bookmark' help: message: 'The Chapter node will work with all other chapter nodes on the same level to form a browsable book.' + group: special inspector: groups: 'document': diff --git a/Resources/Private/Translations/en/Main.xlf b/Resources/Private/Translations/en/Main.xlf index c8bb04d5..51363c99 100644 --- a/Resources/Private/Translations/en/Main.xlf +++ b/Resources/Private/Translations/en/Main.xlf @@ -24,6 +24,9 @@ Forms + + Special + Previous slide