Skip to content

Instantly share code, notes, and snippets.

View Plou's full-sized avatar

Plou Plou

View GitHub Profile
@Plou
Plou / parameters.yml
Created April 29, 2013 06:45 — forked from anonymous/parameters.yml
git ignored files of conf from Symfony2
parameters:
database_driver: pdo_mysql
database_host: localhost
database_port: ~
database_name: -
database_user: -
database_password: -
mailer_transport: smtp
mailer_host: localhost
@Plou
Plou / github.link
Created June 25, 2013 13:51
Allow to easely bind any key or shorcut to a callback function.
@Plou
Plou / tca.php
Created June 27, 2013 14:08
Work in progress... Example of a tca file with text, rich text editor (rte), file (image), date, pages and database entry.
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
t3lib_extMgm::allowTableOnStandardPages('tx_indocuments_category');
$TCA['tx_indocuments_category'] = array (
'ctrl' => $TCA['tx_indocuments_category']['ctrl'],
'interface' => array (
'showRecordFieldList' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,starttime,endtime,title, parent_category'