Skip to content

Commit

Permalink
- Icon font can now be changed via the config
Browse files Browse the repository at this point in the history
- Add branch alias
  • Loading branch information
doishub committed Oct 19, 2020
1 parent 6275704 commit 9095c56
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
]
},
"extra":{
"branch-alias": {
"dev-master": "1.2.x-dev"
},
"contao-manager-plugin": "ContaoThemeManager\\Core\\ContaoManager\\Plugin"
}
}
3 changes: 3 additions & 0 deletions src/Resources/contao/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* (c) https://www.oveleon.de/
*/

// Contao ThemeManager
$GLOBALS['CTM_SETTINGS']['iconFont'] = 'files/assets/fontello/font/fontello.svg';

// Add configuration dca for themes
$GLOBALS['BE_MOD']['design']['themes']['tables'][] = 'tl_thememanager';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'en' => array('Icon', 'Please select an icon from the icon overview.'),
),
'inputType' => 'rocksolid_icon_picker',
'eval' => array('iconFont' => 'files/assets/fontello/font/fontello.svg'),
'eval' => array('iconFont' => $GLOBALS['CTM_SETTINGS']['iconFont']),
),
'text' => array(
'label' => array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'en' => array('Icon', 'Please select an icon from the icon overview.'),
),
'inputType' => 'rocksolid_icon_picker',
'eval' => array('iconFont' => 'files/assets/fontello/font/fontello.svg'),
'eval' => array('iconFont' => $GLOBALS['CTM_SETTINGS']['iconFont']),
),
'text' => array(
'label' => array(
Expand Down

0 comments on commit 9095c56

Please sign in to comment.