All Projects → doublesecretagency → craft-cpbodyclasses

doublesecretagency / craft-cpbodyclasses

Licence: MIT license
Control Panel Body Classes plugin for Craft CMS

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
CSS
56736 projects

Projects that are alternatives of or similar to craft-cpbodyclasses

Linkit
Multi-purpose link plugin for Craft CMS
Stars: ✭ 155 (+545.83%)
Mutual labels:  craft, craftcms
craft3-collections
Clean up those complex templates with Laravel Collections
Stars: ✭ 24 (+0%)
Mutual labels:  craft, craftcms
Seo
SEO utilities including a unique field type, sitemap & redirect manager
Stars: ✭ 210 (+775%)
Mutual labels:  craft, craftcms
craft-json-snippets
Helps make CraftCMS models in .json
Stars: ✭ 17 (-29.17%)
Mutual labels:  craft, craftcms
webmention
Webmention Plugin for Craft CMS
Stars: ✭ 38 (+58.33%)
Mutual labels:  craft, craftcms
Simplemap
A beautifully simple map field type for Craft CMS.
Stars: ✭ 136 (+466.67%)
Mutual labels:  craft, craftcms
oembed
A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.
Stars: ✭ 34 (+41.67%)
Mutual labels:  craft, craftcms
Craftcms Docker
Craft3/Craft2 CMS Docker base (Nginx, PHP-FPM 8, PostgreSQL/MariaDB, Redis)
Stars: ✭ 99 (+312.5%)
Mutual labels:  craft, craftcms
craft-audit
Audit log for Craft 3
Stars: ✭ 18 (-25%)
Mutual labels:  craft, craftcms
craft-twig
Craft CMS Package for Atom
Stars: ✭ 17 (-29.17%)
Mutual labels:  craft, craftcms
overflow.craft-plugin
A plain text Craft field type, with a soft or hard character limit.
Stars: ✭ 13 (-45.83%)
Mutual labels:  craft, craftcms
craft-entry-instructions
A simple fieldtype to add instructions.
Stars: ✭ 16 (-33.33%)
Mutual labels:  craft, craftcms
Craft Cpcss
Control Panel CSS plugin for Craft CMS
Stars: ✭ 115 (+379.17%)
Mutual labels:  craft, craftcms
Craft Cli
Command line interface for Craft CMS 2.
Stars: ✭ 143 (+495.83%)
Mutual labels:  craft, craftcms
Craft Preparse Field
Field type that parses twig when an element is saved.
Stars: ✭ 103 (+329.17%)
Mutual labels:  craft, craftcms
craftbox
Simple Ubuntu Vagrant box targeted for Craft developers -
Stars: ✭ 28 (+16.67%)
Mutual labels:  craft, craftcms
Craft.patrol
Patrol simplifies SSL and maintenance routing for sites built with Craft
Stars: ✭ 91 (+279.17%)
Mutual labels:  craft, craftcms
Buttonbox
A collection of utility field types for Craft
Stars: ✭ 94 (+291.67%)
Mutual labels:  craft, craftcms
smartdown.craft-plugin
Bringing the unbridled joy of Markdown Extra and Smartypants to your Craft websites.
Stars: ✭ 26 (+8.33%)
Mutual labels:  craft, craftcms
tablemaker
A user-definable table field type for Craft CMS
Stars: ✭ 39 (+62.5%)
Mutual labels:  craft, craftcms

Plugin icon

Control Panel Body Classes plugin for Craft CMS

Add special classes to the Control Panel's <body> tag.


Pairs perfectly with the Control Panel CSS and Control Panel JS plugins!

After you've installed the plugin, go to:

  • Settings > Plugins > Control Panel Body Classes

From the settings page, you can select which classes you want to use:

These special classes will now be included in the <body> tag of the CP. You can use these classes to manipulate the CSS & JavaScript of the Control Panel however you choose.


But why?

Because there are a million things that you may want to do in your control panel, and many of them are conditional. Perhaps you want your CSS (or JS) to only take effect for a certain user group, or only on a specific page. Use these special classes to hone in on your targets with precision!

This plugin is designed to work in tandem with Control Panel CSS and/or Control Panel JS.


Disclaimer

It's important to note that showing/hiding fields via CSS and JavaScript is purely cosmetic. Those fields may remain accessible to a savvy user, so don't rely on this plugin to guarantee access/denial of any DOM elements. We accept no liability for any security issues arising from the use of this plugin.


Anything else?

We've got other plugins too!

Check out the full catalog at doublesecretagency.com/plugins

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].