You are here

README.txt in Domain Access 5

README file for Domain Theme

File

domain_theme/README.txt
View source
  1. /**
  2. * @file
  3. * README file for Domain Theme
  4. */
  5. Domain Access: Theme
  6. Assign themes to domains created by the Domain Access modules.
  7. CONTENTS
  8. --------
  9. 1. Introduction
  10. 1.1 Contributors
  11. 2. Installation
  12. 2.1 Dependencies
  13. 3. Configuration Options
  14. 3.1 Theme Settings
  15. 3.2 Domain-Specific Themes
  16. 4. Batch Updates
  17. 5. Developer Notes
  18. 5.1 Database Schema
  19. ----
  20. 1. Introduction
  21. The Domain Theme module is a small module that allows you to assign
  22. different themes for each active domain created with the Domain Access
  23. module.
  24. ----
  25. 1.1 Contributors
  26. Drupal user 'canen' http://drupal.org/user/16188 wrote the first implementation
  27. of this module. The current release version is based on that work.
  28. ----
  29. 2. Installation
  30. The Domain Theme module is included in the Domain Access download.
  31. To install, untar the domain package and place the entire folder in your modules
  32. directory.
  33. When you enable the module, it will create a {domain_theme} table in your Drupal
  34. database.
  35. ----
  36. 2.1 Dependencies
  37. Domain Theme requires the Domain Access module be installed and active.
  38. ----
  39. 3. Configuration Options
  40. The Domain Theme modules adds configuration options to the main module and
  41. to each of your subdomains.
  42. ----
  43. 3.1 Theme Settings
  44. This module edits the global $custom_theme variable for your site. Other modules
  45. -- especially the Organic Groups module -- may also attempt to modify this variable.
  46. If you use other modules that allow custom user or group themes, you may experience
  47. conflicts with the Domain Theme module. Use this setting to vary the execution order
  48. of the Domain Theme module. Lower (negative) values will execute earlier in the Drupal
  49. page building process.
  50. You may need to experiment with this setting to get the desired result.
  51. ----
  52. 3.2 Domain-Specific Themes
  53. When active, the Domain Theme module will add a 'theme' link to the Domain List
  54. screen.
  55. When you click the 'theme' link for a domain record, you can set the default
  56. theme for use by that domain. This form works just like the default system
  57. theme selection form, with the following notes:
  58. -- You cannot enable themes from this screen.
  59. -- You must configure each theme's settings globally. There are currently
  60. no domain-specific settings for themes.
  61. ----
  62. 4. Batch Updates
  63. Domain Theme allows you to make batch changes to settings for all domains.
  64. You may also choose to remove domain-specific theme settings.
  65. This feature is useful if you wish to roll back custom changes.
  66. ----
  67. 5. Developer Notes
  68. We intend to enable domain-specific theme settings in a later release. If you
  69. are interested in helping, see http://drupal.org/node/180264.
  70. ----
  71. 5.1 Database Schema
  72. Installing the module creates a {domain_theme} table that contains:
  73. - domain_id
  74. Integer, unique
  75. The lookup key for this record, foreign key to the {domain} table.
  76. - theme
  77. String, unique
  78. The theme name assigned as the default for this domain.
  79. - settings
  80. Blob (bytea)
  81. A serialized array of theme settings for this domain. Currently not used.