Skip to content

Instantly share code, notes, and snippets.

View visay's full-sized avatar

Visay Keo visay

View GitHub Profile
@bwaidelich
bwaidelich / EmailService.php
Last active May 23, 2016 13:35
Simple Email Service for TYPO3 Flow
<?php
namespace My\Package\Service;
use TYPO3\Flow\Annotations as Flow;
/**
* @Flow\Scope("singleton")
*/
class EmailService {
@aertmann
aertmann / Method1.html
Last active September 7, 2018 21:21
Inline editable properties for a document node (two different approaches) – TYPO3 Neos
<neos:contentElement.wrap node="{node}">
<header>
<neos:contentElement.editable property="title" tag="h1" />
</header>
</neos:contentElement.wrap>
@radmiraal
radmiraal / gist:8d68190e4d8de98ed865
Created July 10, 2014 19:20
Routing configuration for the TYPO3.TYPO3CR paginate viewhelper in a TYPO3 Neos nodetype
-
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': ''
@jrenggli
jrenggli / main.cf
Created January 26, 2015 16:29
mail configuration for development systems: redirect all mails to a distinct mailbox. (Prevent mails being sent to actual recipients)
# File: /etc/postfix/main.cf
...
virtual_alias_maps = regexp:/etc/postfix/virtual
...
@Sebobo
Sebobo / SortRecursiveOperation.php
Created April 6, 2015 18:46
Sortoperation for nodes in TYPO3 Neos
<?php
namespace Vendor\Package\TypoScript\FlowQueryOperations;
/* *
* This script belongs to the TYPO3 Flow package "Vendor.Package". *
* *
* 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. *
* *