Skip to content

Instantly share code, notes, and snippets.

<?php
namespace Acme\Package\Tests\Functional;
use TYPO3\Flow\Annotations as Flow;
use TYPO3\Flow\Configuration\ConfigurationManager;
use TYPO3\Flow\Tests\FunctionalTestCase;
use TYPO3\Eel\Utility as EelUtility;
/**
* Designed as a functional test, should offer every information you need to get started.
-
name: 'Search paginate'
uriPattern: '{node}/{--typo3-typo3cr-viewhelpers-widget-paginateviewhelper.currentPage}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--typo3-typo3cr-viewhelpers-widget-paginateviewhelper':
'@package': ''
-
name: 'CreditCardAuthorization'
uriPattern: '{node}/onepay/{--pipeu_factura_nodetypes-document.paymentType.__type}/{--pipeu_factura_nodetypes-document.document}/{--pipeu_factura_nodetypes-document.hash}/authorizecreditcard.{@format}'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@format': 'html'
'@action': 'show'
'--pipeu_factura_nodetypes-document':
'@package': 'PIPEU.Factura.NodeTypes'
@pumatertion
pumatertion / Settings.yaml
Created September 20, 2014 09:57
Adding Styles and JS to Neos Backend Module
TYPO3:
Neos:
modules:
management:
submodules:
foo:
additionalResources:
styleSheets:
- resource://FOO.bar/Public/Styles/Module/Management/foo.css
javaScripts:
/**
* Property Mapping Setup
*
* @return void
*/
public function initializeCreateOverlayAction() {
$propertyMappingConfiguration = $this->arguments['since']->getPropertyMappingConfiguration();
$propertyMappingConfiguration->setTypeConverterOption('TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\DateTimeConverter', \TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter::CONFIGURATION_DATE_FORMAT, 'Y-m-d');
@pumatertion
pumatertion / FilterExpiredOperation.php
Last active August 29, 2015 14:02
FilterExpiredOperation
<?php
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
* The TYPO3 project - inspiring people to share! *
* */
<f:translate id="invoice.email.message" package="PIPEU.Site" source="Main" locale="{document.localeIdentifier}"
arguments="{
fullName:document.primaryPersonName.fullName,
showLink: '{neos:uri.node(node:targetNode,absolute:true,arguments:\'{--pipeu_factura_nodetypes-document:{\"@package\":\"pipeu.factura.nodetypes\",\"@controller\":\"document\",\"@action\":\"show\",document:document,hash:document.hash}}\')}'
}">
Source:
node123.html?--pipeu_factura_nodetypes-basket%5B%40package%5D=pipeu.factura.nodetypes&--pipeu_factura_nodetypes-basket%5B%40controller%5D=basket&--pipeu_factura_nodetypes-basket%5B%40action%5D=index
Target:
node123/basket.html
############################
Source:
node123.html?--pipeu_factura_nodetypes-basket%5B%40package%5D=pipeu.factura.nodetypes&--pipeu_factura_nodetypes-basket%5B%40controller%5D=basket&--pipeu_factura_nodetypes-basket%5B%40action%5D=step1
#This walks into the main Routes.yaml in Flows Root Folder "Configuration"
-
name: 'Your Fantastic Name'
uriPattern: '<YourPackageSubroutes>'
subRoutes:
'YourPackageSubroutes':
package: 'YOUR.Package'
@pumatertion
pumatertion / Package.php
Created April 12, 2014 13:47
Using your own splitable yaml configurations like Foo.Bar.yaml
<?php
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
* The TYPO3 project - inspiring people to share! *
* */