Project

General

Profile

Paste
Download (8.46 KB) Statistics
| Branch: | Revision:

root / drupal7 / sites / all / themes / bootstrap / docs / subtheme / settings.md @ 1f623f01

1
<!-- @file Overview of theme settings for Drupal Bootstrap based themes. -->
2
<!-- @defgroup -->
3
<!-- @ingroup -->
4
# Theme Settings
5

    
6
To override a setting, open `./subtheme/subtheme.info` and add the following:
7

    
8
`settings[BOOTSTRAP_SETTING] = VALUE`
9

    
10
Where `BOOTSTRAP_SETTING` is the name of the setting and `VALUE` is the value.
11

    
12
---
13

    
14
Below is a complete list of default setting values in the [Drupal Bootstrap]
15
base theme:
16

    
17
## Global
18
| Setting                                          | Default value {.col-xs-4} |
19
| ------------------------------------------------ | ------------------------- |
20
| toggle_name                                      | `1`                       |
21
| toggle_search                                    | `1`                       |
22
{.table.table-striped}
23

    
24
## Containers
25

    
26
| Setting                                          | Default value {.col-xs-4} |
27
| ------------------------------------------------ | ------------------------- |
28
| bootstrap_fluid_container                        | `0`                       |
29
{.table.table-striped}
30

    
31
## Buttons
32

    
33
| Setting                                          | Default value {.col-xs-4} |
34
| ------------------------------------------------ | ------------------------- |
35
| bootstrap_button_size                            | `''`                      |
36
| bootstrap_button_colorize                        | `1`                       |
37
| bootstrap_button_iconize                         | `1`                       |
38
{.table.table-striped}
39

    
40
## Images
41

    
42
| Setting                                          | Default value {.col-xs-4} |
43
| ------------------------------------------------ | ------------------------- |
44
| bootstrap_image_shape                            | `''`                      |
45
| bootstrap_image_responsive                       | `1`                       |
46
{.table.table-striped}
47

    
48
## Tables
49

    
50
| Setting                                          | Default value {.col-xs-4} |
51
| ------------------------------------------------ | ------------------------- |
52
| bootstrap_table_bordered                         | `0`                       |
53
| bootstrap_table_condensed                        | `0`                       |
54
| bootstrap_table_hover                            | `1`                       |
55
| bootstrap_table_striped                          | `1`                       |
56
| bootstrap_table_responsive                       | `1`                       |
57
{.table.table-striped}
58

    
59
## Breadcrumbs
60

    
61
| Setting                                          | Default value {.col-xs-4} |
62
| ------------------------------------------------ | ------------------------- |
63
| bootstrap_breadcrumb                             | `1`                       |
64
| bootstrap_breadcrumb_home                        | `0`                       |
65
| bootstrap_breadcrumb_title                       | `1`                       |
66
{.table.table-striped}
67

    
68
## Navbar
69
| Setting                                          | Default value {.col-xs-4} |
70
| ------------------------------------------------ | ------------------------- |
71
| bootstrap_navbar_position                        | `''`                      |
72
| bootstrap_navbar_inverse                         | `0`                       |
73
{.table.table-striped}
74

    
75
## Pager
76
| Setting                                          | Default value {.col-xs-4} |
77
| ------------------------------------------------ | ------------------------- |
78
| bootstrap_pager_first_and_last                   | `1`                       |
79
{.table.table-striped}
80

    
81
## Wells (Regions)
82
| Setting                                          | Default value {.col-xs-4} |
83
| ------------------------------------------------ | ------------------------- |
84
| bootstrap_region_well-navigation                 | `''`                      |
85
| bootstrap_region_well-header                     | `''`                      |
86
| bootstrap_region_well-highlighted                | `''`                      |
87
| bootstrap_region_well-help                       | `''`                      |
88
| bootstrap_region_well-content                    | `''`                      |
89
| bootstrap_region_well-sidebar_first              | `'well'`                  |
90
| bootstrap_region_well-sidebar_second             | `''`                      |
91
| bootstrap_region_well-footer                     | `''`                      |
92
{.table.table-striped}
93

    
94
## Anchors
95
| Setting                                          | Default value {.col-xs-4} |
96
| ------------------------------------------------ | ------------------------- |
97
| bootstrap_anchors_fix                            | `1`                       |
98
| bootstrap_anchors_smooth_scrolling               | `1`                       |
99
{.table.table-striped}
100

    
101
## Forms
102
| Setting                                          | Default value {.col-xs-4} |
103
| ------------------------------------------------ | ------------------------- |
104
| bootstrap_forms_required_has_error               | `0`                       |
105
| bootstrap_forms_has_error_value_toggle           | `1`                       |
106
| bootstrap_forms_smart_descriptions               | `1`                       |
107
| bootstrap_forms_smart_descriptions_limit         | `250`                     |
108
| bootstrap_forms_smart_descriptions_allowed_tags  | `'b, code, em, i, kbd, span, strong'` |
109
{.table.table-striped}
110

    
111
## Popovers
112
| Setting                                          | Default value {.col-xs-4} |
113
| ------------------------------------------------ | ------------------------- |
114
| bootstrap_popover_enabled                        | `1`                       |
115
| bootstrap_popover_animation                      | `1`                       |
116
| bootstrap_popover_html                           | `0`                       |
117
| bootstrap_popover_placement                      | `'right'`                 |
118
| bootstrap_popover_selector                       | `''`                      |
119
| [bootstrap_popover_trigger]['hover']             | `0`                       |
120
| [bootstrap_popover_trigger]['focus']             | `0`                       |
121
| [bootstrap_popover_trigger]['click']             | `'click'`                 |
122
| bootstrap_popover_trigger_autoclose              | `1`                       |
123
| bootstrap_popover_title                          | `''`                      |
124
| bootstrap_popover_content                        | `''`                      |
125
| bootstrap_popover_delay                          | `0`                       |
126
| bootstrap_popover_container                      | `'body'`                  |
127
{.table.table-striped}
128

    
129
## Tooltips
130
| Setting                                          | Default value {.col-xs-4} |
131
| ------------------------------------------------ | ------------------------- |
132
| bootstrap_tooltip_enabled                        | `1`                       |
133
| bootstrap_tooltip_animation                      | `1`                       |
134
| bootstrap_tooltip_html                           | `0`                       |
135
| bootstrap_tooltip_placement                      | `'auto left'`             |
136
| bootstrap_tooltip_selector                       | `''`                      |
137
| [bootstrap_tooltip_trigger]['hover']             | `'hover'`                 |
138
| [bootstrap_tooltip_trigger]['focus']             | `'focus'`                 |
139
| [bootstrap_tooltip_trigger]['click']             | `0`                       |
140
| bootstrap_tooltip_delay                          | `0`                       |
141
| bootstrap_tooltip_container                      | `'body'`                  |
142
{.table.table-striped}
143

    
144
## Advanced
145
| Setting                                          | Default value {.col-xs-4} |
146
| ------------------------------------------------ | ------------------------- |
147
| bootstrap_cdn_provider         | `'jsdelivr'`                                                       |
148
| bootstrap_cdn_custom_css       | `'https://cdn.jsdelivr.net/bootstrap/3.3.5/css/bootstrap.css'`     |
149
| bootstrap_cdn_custom_css_min   | `'https://cdn.jsdelivr.net/bootstrap/3.3.5/css/bootstrap.min.css'` |
150
| bootstrap_cdn_custom_js        | `'https://cdn.jsdelivr.net/bootstrap/3.3.5/js/bootstrap.js'`       |
151
| bootstrap_cdn_custom_js_min    | `'https://cdn.jsdelivr.net/bootstrap/3.3.5/js/bootstrap.min.js'`   |
152
| bootstrap_cdn_jsdelivr_version | `'3.3.5'`                                                          |
153
| bootstrap_cdn_jsdelivr_theme   | `'bootstrap'`                                                      |
154
{.table.table-striped}
155

    
156
[Drupal Bootstrap]: https://www.drupal.org/project/bootstrap
157
[Bootstrap Framework]: http://getbootstrap.com