heimrichhannot / contao-backend_admin_menu
Extends the contao backend with a menu containing useful shortcuts.
Installs: 283
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: ~5.4 || ~7.0
- bariew/phpquery: >=1.0.2
- contao/core-bundle: ^3.5.1 || ~4.1
- heimrichhannot/contao-haste_plus: >=1.3.47
README
Extends the contao backend with a menu containing useful shortcuts.
Preview
Features
Currently available actions
- regenerate the internal cache
- open composer
- open the page for updating the database
- open autoload creator
Technical instructions
Add a new action
Simply add a new entry to $GLOBALS['TL_CONFIG']['backendAdminMenuActions']
$GLOBALS['TL_CONFIG']['backendAdminMenuActions']['generate_internal_cache'] = array(
// either use a direct url...
'href' => 'contao/main.php?do=composer',
// ... or a callback as href
'href' => array('Some\Namespace\SomeClass', 'someMethod'),
'icon' => 'system/modules/some/icon.png'
);