Skip to content

Instantly share code, notes, and snippets.

View witrin's full-sized avatar

Artus Kolanowski witrin

  • Doc Cirrus GmbH
  • Germany
View GitHub Profile
@witrin
witrin / gist:3220616
Last active October 7, 2015 20:27
TypoGento - Common Settings
/**
* Setup Magento page header, the TypoGento form rewriter and TypoScript runtime registers
*/
config.tx_typogento {
# Integrates the Magento page header
header {
# Enables the integration
enable = 1
@witrin
witrin / gist:3220650
Last active October 7, 2015 20:28
TypoGento - Generic Routes
/**
* Setup generic routes for dispatching and rendering
*/
config.tx_typogento {
# Defines the TypoGento routes for dispatching and rendering
routes {
# Dispatch route for GET parameters
10 {
@witrin
witrin / gist:3220729
Created July 31, 2012 21:27
TypoGento - Ajax Page
/**
* Setup basic Ajax page
*/
ajax = PAGE
ajax {
# Set as default type
typeNum = 0
config {
@witrin
witrin / gist:3221036
Created July 31, 2012 22:00
TypoGento - Onepage Checkout
/**
* Setup render routes for the Magento onepage checkout
*/
config.tx_typogento {
routes {
# Render route for the Ajax action URLs
100 {
[{"id":1,"start":1388444400,"end":1388530800,"title":"Span of 24h...","allDay":true}]
@witrin
witrin / TranslationService.php
Last active August 30, 2015 17:18
Translation service for Extbase domain objects
<?php
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.