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
| YACC=/usr/local/opt/bison27/bin/bison ./configure \ | |
| --prefix=/usr/local/opt/phpng \ | |
| --with-config-file-path=/usr/local/etc/phpng \ | |
| --enable-mbstring \ | |
| --enable-zip \ | |
| --enable-bcmath \ | |
| --enable-pcntl \ | |
| --enable-ftp \ | |
| --enable-exif \ | |
| --enable-calendar \ |
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); |
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
| 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
| 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
| '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
| {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
| 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
| 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
| 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 { |