Skip to content

Commit

Permalink
Added slider type fade-in-out
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Mar 31, 2016
1 parent 71c6481 commit 08b92eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions dca/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,17 @@
'eval' => array('tl_class' => 'w50'),
'sql' => "varchar(32) NOT NULL default 'rsts_default'",
);
// slider type (slide, side-slide or fade)
// slider type (slide, side-slide, fade or fade-in-out)
$GLOBALS['TL_DCA']['tl_content']['fields']['rsts_type'] = array(
'label' => &$GLOBALS['TL_LANG']['tl_module']['rsts_type'],
'exclude' => true,
'inputType' => 'select',
'options' => array('slide' => 'slide', 'side-slide' => 'side-slide', 'fade' => 'fade'),
'options' => array(
'slide' => 'slide',
'side-slide' => 'side-slide',
'fade' => 'fade',
'fade-in-out' => 'fade-in-out',
),
'eval' => array('tl_class' => 'w50'),
'sql' => "varchar(64) NOT NULL default ''",
);
Expand Down
9 changes: 7 additions & 2 deletions dca/tl_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,17 @@
'eval' => array('tl_class' => 'w50'),
'sql' => "varchar(32) NOT NULL default 'rsts_default'",
);
// slider type (slide, side-slide or fade)
// slider type (slide, side-slide, fade or fade-in-out)
$GLOBALS['TL_DCA']['tl_module']['fields']['rsts_type'] = array(
'label' => &$GLOBALS['TL_LANG']['tl_module']['rsts_type'],
'exclude' => true,
'inputType' => 'select',
'options' => array('slide' => 'slide', 'side-slide' => 'side-slide', 'fade' => 'fade'),
'options' => array(
'slide' => 'slide',
'side-slide' => 'side-slide',
'fade' => 'fade',
'fade-in-out' => 'fade-in-out',
),
'eval' => array('tl_class' => 'w50'),
'sql' => "varchar(64) NOT NULL default ''",
);
Expand Down

0 comments on commit 08b92eb

Please sign in to comment.