Skip to content

Instantly share code, notes, and snippets.

@sorenmalling
Created April 16, 2015 08:36
Show Gist options
  • Select an option

  • Save sorenmalling/a499f192ceb498c82c87 to your computer and use it in GitHub Desktop.

Select an option

Save sorenmalling/a499f192ceb498c82c87 to your computer and use it in GitHub Desktop.
<?php
$GLOBALS['TCA']['tx_prisindeks_domain_model_index'] = array(
'ctrl' => $GLOBALS['TCA']['tx_prisindeks_domain_model_index']['ctrl'],
'interface' => array(
'showRecordFieldList' => 'hidden, name, entries',
),
'types' => array(
'1' => array('showitem' => 'hidden;;1, --palette--;;1, entries'),
),
'palettes' => array(
'1' => array('canNotCollapse' => 1, 'showitem' => 'name, forecast'),
),
'columns' => array(
'hidden' => array(
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => array(
'type' => 'check',
),
),
'name' => array(
'exclude' => 1,
'label' => 'LLL:EXT:prisindeks/Resources/Private/Language/locallang_db.xlf:tx_prisindeks_domain_model_index.name',
'config' => array(
'type' => 'input',
'size' => 30,
'eval' => 'trim'
),
),
'forecast' => array(
'exclude' => 1,
'label' => 'LLL:EXT:prisindeks/Resources/Private/Language/locallang_db.xlf:tx_prisindeks_domain_model_index.forecast',
'config' => array(
'type' => 'input',
'size' => 10,
'eval' => 'trim'
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment