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/control-panel/channels.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ The Fields tab contains the channel's field and field group assignments.
51
51
52
52
A channel can have any combination of fields and field groups assigned to it. You can also create fields and field groups on this tab, for a smooth workflow.
53
53
54
+

Copy file name to clipboardExpand all lines: docs/control-panel/create.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
16
16
This is the area where you'll create content for your site by publishing new Entries to your Channels. If you have more than one Channel, moving your cursor over the Publish menu will show all of your Channels and allow you to select one.
17
17
18
-
TIP: **Tip:** Site builders can customize the display of the Publish Page on a per Channel bases by creating a custom layout. Just go to the [Channel manager](control-panel/channels.md) and click 'layouts' to access the [Form layout](control-panel/channels.md#form-layouts).
18
+
TIP: **Tip:** Site builders can customize the display of the Publish Page on a per Channel bases by creating a custom layout. Just go to the [Channel manager](control-panel/channels.md) and click 'layouts' to access the [Publish Layouts](control-panel/channels.md#publish-layouts).
@@ -39,15 +39,18 @@ NOTE: **Note:** If you let the system create your URL Title for you it will conv
39
39
40
40
### Entry Fields
41
41
42
-
The names and types of entry fields displayed will be determined by what [Fields](control-panel/field-manager/field-manager-settings.md) you have defined for this channel. 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.
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.
43
43
44
-
### Save Revision
44
+
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.
45
45
46
-
Allows the content editor to force a revision save.
46
+
The fields can be [conditionally hidden](control-panel/field-manager/conditional-fields.md).
47
47
48
-
### Submit
48
+
In order for the field to be available when publishing or editing an entry, it needs to be assigned to the channel the entry is in.
49
+
50
+
This can be done in two ways:
51
+
- assign custom field to a [Field Group](/control-panel/field-manager/field-manager-settings.md#createedit-field-group) which is associated to the Channel
52
+
- assign field directly to channel by editing [Channel preferences](control-panel/channels.md#fields-tab)
49
53
50
-
The Submit button allows you to save the entry and publish it to your site.
Copy file name to clipboardExpand all lines: docs/development/fieldtypes/enhanced.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,6 +239,16 @@ Possible return values are:
239
239
-`'text'` - shows text input
240
240
-`'select'` - shows select input populated with the field options (for fieldtypes that extend `OptionFieldtype`)
241
241
242
+
## File Manager support
243
+
244
+
When a file is referenced inside content, it can be in two different forms depending on if the file manager is running in compatibility mode or not. An example of this is when a file is chosen inside an RTE field via the filepicker. If the file manager is not running in [compatibility mode](control-panel/file-manager/file-manager.md#compatibility-mode), the file references in content will contain a file ID (e.g. `{file:123:url}` where 123 is the file ID). The file can also be referenced in content with a directory ID and file name (e.g. `{filedir_2}filename.jpg`) when in compatibility mode.
245
+
246
+
To parse both cases correctly, please use the `ee()->file_field->parse_string()` function.
247
+
248
+
ee()->load->library('file_field');
249
+
$data = ee()->file_field->parse_string($data);
250
+
251
+
If the fieldtype is using custom JavaScript for manipulating the files, be sure to make the code aware of the [`EE.fileManagerCompatibilityMode`](development/control-panel-js/globals.md#filemanagercompatibilitymode) variable.
In ExpressionEngine 7 the `File` model is inheriting `FileSystemEntity` model, which is also parent of `Directory` model. They share same properties and most of the methods; different models are being used when there is need to distinguish between file and subfolder.
17
+
18
+
We recommend using `FileSystemEntity` when you need everything that is in certain Upload Directory, and use `File` or `Directory` when working specifically with files or folders within Upload Directory. When saving, the exact model (`File` or `Directory`) always needs to be used.
Copy file name to clipboardExpand all lines: docs/fieldtypes/grid.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,13 @@ Specifies the maximum number of rows this Grid can have. For example, if you ent
33
33
34
34
Enables moving the Grid rows with drag & drop to change the order
35
35
36
-
#### Always use a vertical grid layout?
36
+
#### Grid layout
37
37
38
-
The fields within the grid will be always stacked vertically on the publish form.
38
+
**Auto (default)** - the fields within the grid will be placed in a horizontal row on bigger screens, and stacked vertically on smaller screens or when there is not enough space on the page.
39
39
40
-
When turned off, the fields within the grid will be placed in a horizontal row next to each other in bigger screens, and stacked vertically on smaller screens.
40
+
**Vertical layout** - The fields within the grid will always be stack vertically on the publish form.
41
+
42
+
**Horizontal layout** - The fields within the grid will always be stacked horizontally on the publish form.
Copy file name to clipboardExpand all lines: docs/fieldtypes/overview.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,3 +37,5 @@ ExpressionEngine has the following built-in fieldtypes:
37
37
-[Value Slider](/fieldtypes/value-slider.md)
38
38
-[Toggle](/fieldtypes/toggle.md)
39
39
-[URL](/fieldtypes/url.md)
40
+
41
+
Additionally, more fieldtypes are available in [ExpressionEngine Add-on Store](https://expressionengine.com/add-ons) as add-ons that can be [installed](add-ons/overview.md#installing-add-ons)
0 commit comments