You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/3.x/config/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ You can customize Craft’s entire [Yii application configuration](https://www.y
141
141
You can also customize Craft’s application configuration for only web requests or console requests from `config/app.web.php` and `config/app.console.php`.
142
142
143
143
::: tip
144
-
Craft’s default configuration is defined by [src/config/app.php](https://github.com/craftcms/cms/blob/main/src/config/app.php), [app.web.php](https://github.com/craftcms/cms/blob/main/src/config/app.web.php), and [app.console.php](https://github.com/craftcms/cms/blob/main/src/config/app.console.php). Refer to these files when you need to override existing application components.
144
+
Craft’s default configuration is defined by [src/config/app.php](https://github.com/craftcms/cms/blob/3.x/src/config/app.php), [app.web.php](https://github.com/craftcms/cms/blob/3.x/src/config/app.web.php), and [app.console.php](https://github.com/craftcms/cms/blob/3.x/src/config/app.console.php). Refer to these files when you need to override existing application components.
Copy file name to clipboardExpand all lines: docs/3.x/extend/cp-templates.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Modules can have templates too, but they will need to manually define a [templat
10
10
11
11
## Page Templates
12
12
13
-
To add a new full page to the control panel, create a template that extends the [_layouts/cp.html](https://github.com/craftcms/cms/blob/v3/src/templates/_layouts/cp.html) template.
13
+
To add a new full page to the control panel, create a template that extends the [_layouts/cp.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_layouts/cp.html) template.
14
14
15
15
At a minimum, your template should set a `title` variable and define a `content` block:
16
16
@@ -142,7 +142,7 @@ Variable | Description
142
142
143
143
#### Form Inputs
144
144
145
-
Craft’s [_includes/forms.html](https://github.com/craftcms/cms/blob/v3/src/templates/_includes/forms.html) template defines several macros that can be used to display your form elements.
145
+
Craft’s [_includes/forms.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_includes/forms.html) template defines several macros that can be used to display your form elements.
146
146
147
147
Most input types have two macros: one for outputting _just_ the input; and another for outputting the input as a “field”, complete with a label, author instructions, etc.
| `cp.elements.element` | Base element template.<br><small>[_elements/element.html](https://github.com/craftcms/cms/blob/v3/src/templates/_elements/element.html)</small>
37
-
| `cp.layouts.base` | Before `doctype` declaration in base template.<br><small>[_layouts/base.html](https://github.com/craftcms/cms/blob/v3/src/templates/_layouts/base.html)</small>
38
-
| `cp.assets.edit` | Before asset detail view’s template blocks.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
39
-
| `cp.assets.edit.content` | After asset detail view’s main content.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
40
-
| `cp.assets.edit.details` | After asset detail view’s existing right sidebar details column.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
41
-
| `cp.assets.edit.settings` | After asset detail view’s “Filename” field.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
42
-
| `cp.assets.edit.meta` | After asset detail view’s existing right sidebar meta details.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/assets/_edit.html)</small>
43
-
| `cp.categories.edit` | Before category detail view’s template blocks.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)</small>
44
-
| `cp.categories.edit.content` | After category detail view’s main content. <br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)</small>
45
-
| `cp.categories.edit.details` | After category detail view’s existing right sidebar details column.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/categories/_edit.html)</small>
46
-
| `cp.entries.edit` | Before entry detail view’s template blocks.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
47
-
| `cp.entries.edit.content` | After entry detail view’s main content.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
48
-
| `cp.entries.edit.settings` | After entry detail view’s sidebar settings block.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
49
-
| `cp.entries.edit.meta` | After entry detail view’s existing right sidebar meta details.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
50
-
| `cp.entries.edit.details` | After entry detail view’s existing right sidebar details column.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/entries/_edit.html)</small>
51
-
| `cp.globals.edit` | Before global set detail view’s template blocks.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/globals/_edit.html)</small>
52
-
| `cp.globals.edit.content` | After global set detail view’s main content.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/globals/_edit.html)</small>
53
-
| `cp.users.edit` | Before user detail view’s template blocks.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
54
-
| `cp.users.edit.prefs` | After fields in the user’s “Preferences” tab.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
55
-
| `cp.users.edit.content` | After user detail view’s main tabbed content.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
56
-
| `cp.users.edit.details` | After user detail view’s right sidebar details. <br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/v3/src/templates/users/_edit.html)</small>
36
+
| `cp.elements.element` | Base element template.<br><small>[_elements/element.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_elements/element.html)</small>
37
+
| `cp.layouts.base` | Before `doctype` declaration in base template.<br><small>[_layouts/base.html](https://github.com/craftcms/cms/blob/3.x/src/templates/_layouts/base.html)</small>
38
+
| `cp.assets.edit` | Before asset detail view’s template blocks.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
39
+
| `cp.assets.edit.content` | After asset detail view’s main content.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
40
+
| `cp.assets.edit.details` | After asset detail view’s existing right sidebar details column.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
41
+
| `cp.assets.edit.settings` | After asset detail view’s “Filename” field.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
42
+
| `cp.assets.edit.meta` | After asset detail view’s existing right sidebar meta details.<br><small>[assets/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/assets/_edit.html)</small>
43
+
| `cp.categories.edit` | Before category detail view’s template blocks.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)</small>
44
+
| `cp.categories.edit.content` | After category detail view’s main content. <br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)</small>
45
+
| `cp.categories.edit.details` | After category detail view’s existing right sidebar details column.<br><small>[categories/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/categories/_edit.html)</small>
46
+
| `cp.entries.edit` | Before entry detail view’s template blocks.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
47
+
| `cp.entries.edit.content` | After entry detail view’s main content.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
48
+
| `cp.entries.edit.settings` | After entry detail view’s sidebar settings block.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
49
+
| `cp.entries.edit.meta` | After entry detail view’s existing right sidebar meta details.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
50
+
| `cp.entries.edit.details` | After entry detail view’s existing right sidebar details column.<br><small>[entries/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/entries/_edit.html)</small>
51
+
| `cp.globals.edit` | Before global set detail view’s template blocks.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/globals/_edit.html)</small>
52
+
| `cp.globals.edit.content` | After global set detail view’s main content.<br><small>[globals/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/globals/_edit.html)</small>
53
+
| `cp.users.edit` | Before user detail view’s template blocks.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
54
+
| `cp.users.edit.prefs` | After fields in the user’s “Preferences” tab.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
55
+
| `cp.users.edit.content` | After user detail view’s main tabbed content.<br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
56
+
| `cp.users.edit.details` | After user detail view’s right sidebar details. <br><small>[users/_edit.html](https://github.com/craftcms/cms/blob/3.x/src/templates/users/_edit.html)</small>
Copy file name to clipboardExpand all lines: docs/3.x/testing/ci.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ There are [many](https://en.wikipedia.org/wiki/Comparison_of_continuous_integrat
4
4
5
5
Craft uses [Travis](https://app.travis-ci.com/github/craftcms/cms) for its public repo, but you’re free to use what you’re comfortable with and modify things to your workflow.
6
6
7
-
There are [many options](https://docs.travis-ci.com/) for configuring Travis, but let’s examine [Craft’s `.travis.yml` file](https://github.com/craftcms/cms/blob/main/.travis.yml).
7
+
There are [many options](https://docs.travis-ci.com/) for configuring Travis, but let’s examine [Craft’s `.travis.yml` file](https://github.com/craftcms/cms/blob/3.x/.travis.yml).
Copy file name to clipboardExpand all lines: docs/3.x/updating.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This section displays updates for Craft CMS plugins, each with its own **Update*
9
9
You can choose **Update All** at the top left to initiate all available Craft and/or plugin updates at once.
10
10
11
11
::: tip
12
-
Craft’s [changelog](https://github.com/craftcms/cms/blob/main/CHANGELOG.md) will warn you of any critical changes at the top of the release notes. While there aren’t usually any warnings, it’s always a good idea to check the changelog and [any upgrade guides](#upgrade-guides) before updating.
12
+
Craft’s [changelog](https://github.com/craftcms/cms/blob/3.x/CHANGELOG.md) will warn you of any critical changes at the top of the release notes. While there aren’t usually any warnings, it’s always a good idea to check the changelog and [any upgrade guides](#upgrade-guides) before updating.
0 commit comments