Projet

Général

Profil

Révision b6b9edaa

Ajouté par Assos Assos il y a plus de 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/bootstrap/docs/README.md
16 16
theme. They are ordered based on the level one typically progresses while using
17 17
a base theme like this.
18 18

  
19
#### @link faq FAQ @endlink
19
#### [Contributing](<!-- @url contributing -->)
20 20

  
21
#### @link getting_started Getting Started @endlink
21
#### [Getting Started](<!-- @url getting_started -->)
22 22

  
23
#### @link subtheme Sub-Theming @endlink
24
- @link subtheme_settings Theme Settings @endlink
25
- @link subtheme_helper_functions Helper Functions @endlink
26
- @link subtheme_cdn CDN Starterkit @endlink
27
- @link subtheme_less Less Starterkit @endlink
28
- @link subtheme_sass Sass Starterkit @endlink
23
#### [Theme Settings](<!-- @url theme_settings -->)
29 24

  
30
#### @link registry Theme Registry @endlink
31
- @link theme_preprocess Preprocess Functions (.vars.php) @endlink
32
- @link theme_process Process Functions (.vars.php) @endlink
33
- @link templates Templates (.tpl.php) @endlink
34
- @link theme_functions Theme Functions (.func.php) @endlink
25
#### [Sub-Theming](<!-- @url sub_theming -->)
35 26

  
36
#### @link api APIs @endlink
27
#### [Utilities](<!-- @url utility -->)
37 28

  
38
#### @link contribute Contribute @endlink
39
- @link contribute_maintainers Project Maintainers @endlink
29
#### [Theme Registry](<!-- @url registry -->)
30

  
31
- [Preprocess Functions (.vars.php)](<!-- @url theme_preprocess -->)
32
- [Process Functions (.vars.php)](<!-- @url theme_process -->)
33
- [Templates (.tpl.php)](<!-- @url templates -->)
34
- [Theme Functions (.func.php)](<!-- @url theme_functions -->)
35

  
36
#### [Project Maintainers](<!-- @url maintainers -->)
40 37

  
41 38
---
42 39

  
......
47 44
in one of the following ways:
48 45

  
49 46
- **[Drupal Bootstrap]** refers to the Drupal base theme project.
50
- **[Bootstrap Framework](https://getbootstrap.com/docs/3.4/)** refers to the external
51
  front end framework.
52
- **[drupal_bootstrap](https://api.drupal.org/apis/drupal_bootstrap)** refers
47
- **[Bootstrap Framework]** refers to the external front end framework.
48
- **[`drupal_bootstrap`](https://api.drupal.org/apis/drupal_bootstrap)** refers
53 49
  to Drupal's bootstrapping process or phase.
54 50
  
55 51
When referring to files inside the [Drupal Bootstrap] project directory, they
56
will always start with `./bootstrap` and continue to specify the full path to
57
the file or directory inside it. For example, the file that is responsible for
58
displaying the text on this page is located at `./bootstrap/docs/README.md`.
52
will always start with `./sites/all/themes/bootstrap` and continue to specify
53
the full path to the file or directory inside it. The dot (`.`) is
54
representative of your Drupal installation's `DOCROOT` folder. For example, the
55
file that is responsible for displaying the text on this page is located at
56
`./sites/all/themes/bootstrap/docs/README.md`.
59 57

  
60 58
When referring to files inside a sub-theme, they will always start with
61
`./subtheme/` and continue to specify the full path to the file or directory
59
`./sites/all/themes/THEMENAME/`, where `THEMENAME` is the machine name of your
60
sub-theme. They will continue to specify the full path to the file or directory
62 61
inside it. For example, the primary file Drupal uses to determine if a theme
63
exists is: `./subtheme/subtheme.info`, where `subtheme` is the machine name of
64
your sub-theme.
62
exists is: `./sites/all/themes/THEMENAME/THEMENAME.info`.
63

  
64
{.alert.alert-info} **NOTE:** It is common practice to place projects found on
65
Drupal.org inside a sub-folder named `contrib` and custom/site-specific code
66
inside a `custom` folder. If your site is set up this way, please adjust all
67
paths accordingly (i.e. `./sites/all/themes/contrib/bootstrap` and
68
`./sites/all/themes/custom/THEMENAME`). If you have a multi-site setup, you
69
will need to replace the `all` portion of the path with the appropriate site
70
name (i.e. `./sites/example.com/themes/contrib/bootstrap`).
65 71

  
66 72
[Drupal Bootstrap]: https://www.drupal.org/project/bootstrap
73
[Bootstrap Framework]: https://getbootstrap.com/docs/3.4/

Formats disponibles : Unified diff