Skip to content

Instantly share code, notes, and snippets.

View tbrodard's full-sized avatar

Thierry Brodard tbrodard

View GitHub Profile
page >
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
page.10.disableExplosivePreview = 1
config {
// Core
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_core']['backend'] = 'TYPO3\CMS\Core\Cache\Backend\NullBackend';
// Fluid Templates Fluid (and others)
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_phpcode']['backend'] = 'TYPO3\CMS\Core\Cache\Backend\NullBackend';
// XLIFF
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['l10n']['backend'] = 'TYPO3\CMS\Core\Cache\Backend\NullBackend';
@tbrodard
tbrodard / 0_reuse_code.js
Created April 3, 2016 08:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
TYPO3:
Neos:
modules:
management:
submodules:
documentation:
label: Documentation
controller: \Tc\Module\Documentation\Controller\Module\Documentation\DocumentationController
description: 'Standard Neos Documentation.'
icon: 'icon-book'
@tbrodard
tbrodard / NodeTypes.MenuBlockWithAnchors.yaml
Last active August 29, 2015 14:16
TYPO3 Neos: Menu with mixed link to pages and anchors
###################################################
# Bloc de menu pour les pages internes
###################################################
'Tc.Lre:MenuBlockWithAnchors':
superTypes: ['TYPO3.Neos:Content']
ui:
label: Bloc de menu avec ancres
group: 'lre-lge'
inlineEditable: TRUE
@tbrodard
tbrodard / neos.dev.conf
Last active August 29, 2015 14:11 — forked from iwyg/neos.dev.conf
server {
listen *:80;
server_name neos.dev;
root /var/www/neos/Web;
autoindex off;
access_log /var/log/nginx/neos.dev.access.log;
error_log /var/log/nginx/neos.dev.error.log;
index index.php index.html;
@tbrodard
tbrodard / jQuery.ajaxQueue.min.js
Created March 28, 2012 12:07 — forked from gnarf/jQuery.ajaxQueue.min.js
jQuery.ajaxQueue - A queue for ajax requests
/*
* jQuery.ajaxQueue - A queue for ajax requests
*
* (c) 2011 Corey Frang
* Dual licensed under the MIT and GPL licenses.
*
* Requires jQuery 1.5+
*/
(function(a){var b=a({});a.ajaxQueue=function(c){function g(b){d=a.ajax(c).then(b,b).done(e.resolve).fail(e.reject)}var d,e=a.Deferred(),f=e.promise();b.queue(g),f.abort=function(h){if(d)return d.abort(h);var i=b.queue(),j=a.inArray(g,i);j>-1&&i.splice(j,1),e.rejectWith(c.context||c,[f,h,""]);return f};return f}})(jQuery)