updated admin_theme

This commit is contained in:
2020-06-23 12:32:25 +02:00
parent da7085e201
commit 22d0da3413
8 changed files with 386 additions and 551 deletions
+21 -9
View File
@@ -1,18 +1,23 @@
/* $Id: README.txt,v 1.1.2.2.2.1 2008/12/13 09:22:36 davyvandenbremt Exp $ */
Description
-----------
Drupal allows you to define a different theme for administration pages (Administer -> Site configuration -> Administration theme). By default this only applies to pages with a path starting with 'admin' and content editing pages.
Drupal allows you to define a different theme for administration pages
(Administer -> Site configuration -> Administration theme).
By default this only applies to pages with a path starting with 'admin'
and content editing pages.
The Administration theme module adds a few more option to the default configuration page like :
The Administration theme module adds a few more option to
the default configuration page like :
- Use administration theme for batch processing
- Use administration theme for code reviews
- ...
Some of these pages will only appear if they apply to your installation, i.e. you have the module installed which generates these pages.
Some of these pages will only appear if they apply to your installation,
i.e. you have the module installed which generates these pages.
You also have the option to define a custom set of Drupal paths or aliases to apply the administration theme for.
You also have the option to define a custom set of Drupal paths
or aliases to apply the administration theme for.
Requirements
@@ -41,12 +46,19 @@ Administration theme can be configured at :
Developers
----------
You can add define extra pages where the administration theme should be applied to by implementing the hook_admin_theme_info and hook_admin_theme_check hooks in your modules.
The first one gets all "options" and the second one checks if each of those options should should be applied to a path. Check out admin_theme_admin_theme_info and admin-theme_admin_theme_check for an example implementation.
You can add define extra pages where the administration theme
should be applied to by implementing the hook_admin_theme_info
and hook_admin_theme_check hooks in your modules.
The first one gets all "options" and the second one checks
if each of those options should should be applied to a path.
Check out admin_theme_admin_theme_info and admin-theme_admin_theme_check
for an example implementation.
Author
Authors
------
Davy Van Den Bremt <info@davyvandenbremt.be>
http://www.davyvandenbremt.be
http://www.davyvandenbremt.be
Joozer Tohfafarosh