https://github.com/doublesecretagency/craft-cp
https://github.com/doublesecretagency/craft-cp
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/doublesecretagency/craft-cp
- Owner: doublesecretagency
- Created: 2023-05-08T00:26:07.000Z (about 2 years ago)
- Default Branch: v2
- Last Pushed: 2025-01-11T23:32:11.000Z (5 months ago)
- Last Synced: 2025-01-12T00:23:58.340Z (5 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# CP Helper for Double Secret Agency
**Internal tools for the Craft CMS control panel.**
---
This private plugin is an internal tool for Double Secret Agency websites. It adds a few niceties which improve the DX of the control panel.
## CP Enhancements
**Hides the "Dashboard" link from the main navigation.** This mimics the behavior of the [Dashboard Begone](https://plugins.craftcms.com/dashboard-begone) plugin.
**Hides the "Utilities" badge,** which is often distracting and extraneous.
**Hides the "All Entries" link from the secondary navigation.** Users will be redirected to the first available section.
**Shows the total number of elements in each section.** For example, how many entries exist in each channel.
## Global Twig Variables
This plugin automatically sets two additional global Twig variables...
| Variable | Value | Path To |
|:---------------|:--------------------------------|:---------------------------|
| `resourcesUrl` | `https://example.com/resources` | Front-end CSS & JS files |
| `assetsUrl` | `https://example.com/assets` | Uploaded files for content |