Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-backend_admin_menu
https://github.com/heimrichhannot/contao-backend_admin_menu
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-backend_admin_menu
- Owner: heimrichhannot
- Created: 2016-02-15T15:01:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T12:57:44.000Z (over 7 years ago)
- Last Synced: 2024-08-26T15:31:08.708Z (4 months ago)
- Language: PHP
- Size: 29.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Backend Admin Menu
Extends the contao backend with a menu containing useful shortcuts.
![alt Preview](docs/screenshot.jpg)
*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'
);
```