This file contains hidden or 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
| ### Keybase proof | |
| I hereby claim: | |
| * I am kitsunet on github. | |
| * I am kitsunet (https://keybase.io/kitsunet) on keybase. | |
| * I have a public key whose fingerprint is 9C31 0512 E31B 3661 F556 3CE5 B8C2 2C6D 638B F2FA | |
| To claim this, I am signing this object: |
This file contains hidden or 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 hidden or 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
| function mergeAttributes($array) { | |
| $mergedAttributes = array(); | |
| foreach(func_get_args() as $argument) { | |
| foreach($argument as $key => $value) { | |
| if (!isset($mergedAttributes[$key]) { | |
| $mergedAttributes[$key] = array(); | |
| } | |
| if (is_array($value)) { | |
| foreach($value as $innerValue) { | |
| $mergedAttributes[$key][] = $innerValue; |
This file contains hidden or 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
| subPageContent = TYPO3.TypoScript:Collection { | |
| collection = ${q(node).children('[instanceof TYPO3.Neos:Document]')} | |
| itemRenderer = TYPO3.Neos:ContentCollection { | |
| nodePath = 'main' | |
| } | |
| itemName = 'node' | |
| } |
This file contains hidden or 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
| {namespace neos=TYPO3\Neos\ViewHelpers} | |
| <div> | |
| {postList -> f:format.raw()} | |
| </div> |
This file contains hidden or 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
| 'Foo.Bar:Baz': | |
| constraints: | |
| 'TYPO3.Neos:Content': | |
| allowed: TRUE | |
| 'TYPO3.Neos.NodeTypes:Text' | |
| allowed: FALSE |
This file contains hidden or 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
| protected function decodeBodyArguments($body, $mediaType) { | |
| switch (MediaTypes::trimMediaType($mediaType)) { | |
| case 'application/json': | |
| case 'application/x-javascript': | |
| case 'text/javascript': | |
| case 'text/x-javascript': | |
| case 'text/x-json': | |
| $arguments = array(); | |
| $decoded_json_body = json_decode($body, TRUE); | |
| if ($decoded_json_body !== NULL) { |
This file contains hidden or 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(YourVendor.YourPackage:DefaultFooter) < TYPO3.Neos:ContentCollection { | |
| nodePath = ${q(site).find('Footer').property('_path')} | |
| collection = ${q(site).children('Footer').children()} | |
| } | |
| prototype(YourVendor.YourPackage:GermanFooter) < TYPO3.Neos:ContentCollection { | |
| nodePath = ${q(site).children('de').find('Footer').property('_path')} | |
| collection = ${q(site).children('de').children('Footer').children()} | |
| } |
This file contains hidden or 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 | |
| // autoload_files.php @generated by Composer | |
| $vendorDir = dirname(dirname(__FILE__)); | |
| $baseDir = dirname(dirname($vendorDir)); | |
| return array( | |
| $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php', | |
| ); |
This file contains hidden or 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 | |
| $repository = getenv('REPO'); | |
| $branch = getenv('BRANCH'); | |
| use \TYPO3\Surf\Domain\Model\Node; | |
| use \TYPO3\Surf\Domain\Model\SimpleWorkflow; | |
| $application = new \TYPO3\Surf\Application\TYPO3\Neos(); | |
| $application->setOption('repositoryUrl', 'git://some.url.here/' . $repository); |