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
'CORE4.EventBase:Schema.Event': | |
abstract: TRUE | |
ui: | |
icon: 'icon-calendar' | |
inspector: | |
groups: | |
event: | |
label: 'Event' | |
position: 50 | |
visibility: |
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
'CORE4.EventBase:EventAggregator': | |
abstract: true | |
properties: | |
restrictToDocument: | |
type: boolean | |
ui: | |
label: 'Restrict to Document' | |
reloadIfChanged: TRUE | |
inspector: | |
group: 'aggregator' |
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(CORE4.EventBase:EventList) > | |
prototype(CORE4.EventBase:EventList) < prototype(TYPO3.Neos:Content) { | |
templatePath = 'resource://CORE4.EventBase/Private/Templates/NodeTypes/EventList.html' | |
startNode = ${q(node).property('restrictToDocument') ? q(documentNode) : q(site)} | |
events = ${this.startNode.find('[instanceof CORE4.EventBase:Event]').future().orderEventsByDate('asc')} | |
hasEvents = ${this.events.count() > 0} | |
} |
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(CORE4.EventBase:Event) > | |
prototype(CORE4.EventBase:Event) < prototype(TYPO3.Neos:Page) { | |
body { | |
templatePath = 'resource://CORE4.EventBase/Private/Templates/NodeTypes/Event.html' | |
sectionName = 'body' | |
content { | |
images = ContentCollection { | |
nodePath = 'images' | |
} | |
description = PrimaryContent { |
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
# Abstract Box | |
prototype(EA:Box) > | |
prototype(EA:Box) < prototype(TYPO3.Neos.NodeTypes:TextWithImage) { | |
targetNode = ${q(node).property('linkTarget')} | |
targetAudience = ${q(node).property('linkTarget')?q(this.targetNode).closest('[instanceof EA:TargetAudience]').get(0):NULL} | |
@override.targetAudienceIdentifier = ${q(node).property('linkTarget')?q(this.targetAudience).property('identifier'):'default'} | |
targetAudienceIdentifier = ${targetAudienceIdentifier} | |
attributes.class = ${'target-audience-' + targetAudienceIdentifier} | |
} |
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
@override.searchResults = ${this.sortedSearchQuery.limit(20).execute()} | |
@override.zipLocation = ${request.arguments.zipCode ? Location.fromGermanPostalCode(request.arguments.zipCode) : NULL} | |
zipLocation = ${zipLocation} | |
searchQuery = ${Search.query(site).nodeType('ACME:ACME')} | |
sortedSearchQuery = ${this.searchQuery.sortGeoDistanceAsc('location', Location.latitude(this.zipLocation), Location.longitude(this.zipLocation), 'km')} |
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 | |
namespace TYPO3\Neos\Controller\Backend; | |
/* * | |
* This script belongs to the TYPO3 Flow package "TYPO3.Neos". * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU General Public License, either version 3 of the * | |
* License, or (at your option) any later version. * | |
* * |
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
class TagBasedImageListImplementation extends TemplateImplementation { | |
/** | |
* @Flow\Inject | |
* @var TagRepository | |
*/ | |
protected $tagRepository; | |
/** | |
* @Flow\Inject |
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
"asset": { | |
"type": "attachment", | |
"fields": { | |
"asset": { | |
"type": "string", | |
"term_vector":"with_positions_offsets", | |
"store": true | |
} | |
} | |
} |
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 | |
namespace Neos\ContentRepository\EventSourced\Domain\Model\Content\Event; | |
/* | |
* This file is part of the Neos.ContentRepository.EventSourced package. | |
* | |
* (c) Contributors of the Neos Project - www.neos.io | |
* | |
* This package is Open Source Software. For the full copyright and license | |
* information, please view the LICENSE file which was distributed with this |
OlderNewer