Skip to content

Commit 45fa492

Browse files
committed
Small updates to shortname tag copying
1 parent 8d8302b commit 45fa492

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

docs/control-panel/channels.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@
1111

1212
**Control Panel Location: `Developer > Channels`**
1313

14-
This section of the Control Panel is where channels are created, edited and deleted.
14+
This section of the Control Panel is where channels are created, edited and deleted.
1515

16-
The channel shortname on the main display supports quick copying the full template tag for the channel, including all fields assigned to the channel. The copied code is ready to use on your [templates](templates/overview.md). Quick copying code via the channel shortname is only supported when on HTTPS.
16+
The channel shortname on the main display supports quick copying the full template tag for the channel, including all fields assigned to the channel. The copied code is ready to use on your [templates](templates/overview.md). Displaying the short name can be toggled on or off in the [Role](control-panel/member-manager.md) settings.
17+
18+
NOTE:
19+
Due to security restrictions in modern browsers quick copying code via the shortname is only supported when on HTTPS.
1720

1821
[TOC]
1922

docs/control-panel/create.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ NOTE: **Note:** If you let the system create your URL Title for you it will conv
3939

4040
### Entry Fields
4141

42-
The names and types of entry custom fields displayed will be determined by what [Fields](/fieldtypes/overview.md) you have defined for this channel.
42+
The names and types of entry custom fields displayed will be determined by what [Fields](/fieldtypes/overview.md) you have defined for this channel.
4343

4444
If an entry field is set to be "hidden" by default, it will have to be expanded by clicking on the field name before content can be entered.
4545

@@ -51,7 +51,10 @@ This can be done in two ways:
5151
- assign custom field to a [Field Group](/control-panel/field-manager/field-manager-settings.md#createedit-field-group) which is associated to the Channel
5252
- assign field directly to channel by editing [Channel preferences](control-panel/channels.md#fields-tab)
5353

54-
When working with [templates](templates/overview.md) you will be referencing the field by its short name or tag pair. For convenience the short name can be displayed next to the field's name in the publish form (<img style="margin-bottom: 0px; vertical-align: middle; display:inline-block;" src="../_images/field_short_name.png" alt="field short name">) and the variable(s) required to display the content will be copied to the clipboard when clicked. Displaying the short name can be toggled on or off in the [Role](control-panel/member-manager.md) settings. Copying code via the shortname is only supported when on HTTPS.
54+
When working with [templates](templates/overview.md) you will be referencing the field by its short name or tag pair. For convenience the short name can be displayed next to the field's name in the publish form (<img style="margin-bottom: 0px; vertical-align: middle; display:inline-block;" src="../_images/field_short_name.png" alt="field short name">) and the variable(s) required to display the content will be copied to the clipboard when clicked. Displaying the short name can be toggled on or off in the [Role](control-panel/member-manager.md) settings.
55+
56+
NOTE:
57+
Due to security restrictions in modern browsers quick copying code via the shortname is only supported when on HTTPS.
5558

5659
Note that some fields can be displayed with just single tags while others would require a tag pair with extra variables. More information can be found in the documentation for the field's specific [field type](fieldtypes/overview.md).
5760

@@ -189,6 +192,6 @@ A live preview of the entry is available if the `channel_prefs_preview_url` is s
189192

190193
If neither is set, the preview button will have an exclamation mark (!) and will link to channel preferences page where Preview URL can be set.
191194

192-
The preview will open a split screen that allows a live preview of edits. The template used to display the preview is based on the Page fields if set and the channel preview URL otherwise.
195+
The preview will open a split screen that allows a live preview of edits. The template used to display the preview is based on the Page fields if set and the channel preview URL otherwise.
193196

194197
When the preview is triggered, it is being displayed side-by-side with edit screen. The size of preview container can be adjusted with mouse dragging its border. The preview is dynamically being updated as you change the fields.

docs/control-panel/field-manager/field-manager-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This section of the Control Panel is where custom fields are created, edited and
1717

1818
![](_images/cp-field-manager.png)
1919

20-
The field shortname supports quick copying the full tag needed to display the field. The copied can is ready to use on your [templates](templates/overview.md). Quick copying code via the channel shortname is only supported when on HTTPS.
20+
The field shortname supports quick copying the full tag needed to display the field. The copied can is ready to use on your [templates](templates/overview.md). Displaying the short name can be toggled on or off in the [Role](control-panel/member-manager.md) settings. Due to security restrictions in modern browsers quick copying code via the shortname is only supported when on HTTPS.
2121

2222
Tip: How to Find Where a Field Is Used
2323
<div class="video-wrapper">

docs/control-panel/member-manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ This tab contains the generic settings for the role. You can also assign the rol
8282

8383
- **Include members in: author/member lists.**
8484
-- Roles included in the author list are available in the author select field on the entry publish/edit page for any channel the role has permission to publish in.
85-
-- Roles included in the member lists are available to display in the [member list tag](member/memberlist.md).
85+
-- Roles included in the member lists are available to display in the [member list tag](member/memberlist.md).
8686

8787
- **Security Lock** -- If enabled, only Super Admin users can add or remove members to the role.
8888

8989
- **Role Groups** -- Assign the role to [role groups](control-panel/member-manager.md#role-groups).
9090

91-
- **Show field names on Publish** -- Enables the display of the field tags on the entry publish/edit page. This option is only available to the Super Admin role.
91+
- **Show field names on Publish** -- Enables the display of field short names on the entry publish/edit page.
9292

9393
Tip: Hide and Show Field Short Names in the Publish Area
9494
<div class="video-wrapper">

0 commit comments

Comments
 (0)