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
TIP: **Tip:** This form utilizes template [form validation and error handling](/templates/form-validation.md). Refer to the documentation for additional parameters and variables that are available to this tag.
Copy file name to clipboardExpand all lines: docs/add-ons/email.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ The contact form is created similar to a standard web form, only you **do not**
52
52
</p>
53
53
{/exp:email:contact_form}
54
54
55
+
{{embed:_tips/form-validation.md}}
56
+
55
57
## Parameters
56
58
57
59
[TOC=3]
@@ -64,6 +66,12 @@ The contact form is created similar to a standard web form, only you **do not**
64
66
65
67
This allows you to set the character set of the email being sent. Use this if your form's template is using a character set other than iso-8859-1.
66
68
69
+
### `inline_errors=`
70
+
71
+
inline_errors="yes"
72
+
73
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
74
+
67
75
### `name=`
68
76
69
77
name="myForm"
@@ -120,6 +128,12 @@ If used with the redirect="none" parameter, the link text can be specified by ad
120
128
121
129
If the `redirect` parameter was set to value of `return`, then the user will be redirected immediately after submission of the form.
122
130
131
+
### `return_error=`
132
+
133
+
return_error="template_group/error"
134
+
135
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
136
+
123
137
### `preview=`
124
138
125
139
preview="about/contact-preview"
@@ -330,7 +344,7 @@ In the above example, the Template "friend" contains the Tell-a-Friend form.
330
344
[TOC=3]
331
345
332
346
### `allow_attachments=`
333
-
347
+
334
348
allow_attachments="yes"
335
349
336
350
This allows you to add a file input field to your form, make sure to give your file input field the name of `attachment`. Adding this parameter automatically gives the form the `enctype='multipart/form-data'` attribute.
Copy file name to clipboardExpand all lines: docs/add-ons/pro-search/examples.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ Below is a list of radio buttons, one for each letter of the alphabet. Selecting
280
280
281
281
Below is a list of checkboxes based on a custom channel field of the Checkboxes type. You can select multiple options from this list. Entries will be shown that have any of the selected options checked. Uses [Low Options](https://github.com/EEHarbor/low_options) to generate field options.
282
282
283
-
Adding `contains_words="parameter_name"` to the Results tag will ensure that the selected items are not contained within other words, like appending `\W` to the values.
283
+
Adding `contains_words="parameter_name"` to the Results tag will ensure that the selected items are not contained within other words, like appending `\W` to the values.
284
284
285
285
{exp:pro_search:form query="{segment_3}"}
286
286
{exp:low_options:service_options}
@@ -503,7 +503,7 @@ Below are two lists of tags. You can select multiple tags per list. Entries that
503
503
504
504
## Other & Native
505
505
506
-
In addition to what all the [filters](/add-ons/pro-search/filters.md) bring to the party, you can also filter by native ExpressionEngine parameters, as well as some [little extras](/add-ons/pro-search/tags.md#results-tag).
506
+
In addition to what all the [filters](/add-ons/pro-search/filters.md) bring to the party, you can also filter by native ExpressionEngine parameters, as well as some [little extras](/add-ons/pro-search/tags.md#exppro_searchresults).
Copy file name to clipboardExpand all lines: docs/add-ons/pro-search/filters.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ The automatic `keywords:mode` uses operators in keywords for any/all/exact match
95
95
96
96
### Singulars & Plurals
97
97
98
-
Pro Search supports singular and plural matching of keywords [inflections](http://en.wikipedia.org/wiki/Inflection). To enable this, both the `keywords:inflect` and the `keywords:lang` parameters must be set. Pro Search supports English inflections natively and you can add support for other languages by adding inflection rules to your [Config file](/general/system_configuration_overrides.md):
98
+
Pro Search supports singular and plural matching of keywords [inflections](http://en.wikipedia.org/wiki/Inflection). To enable this, both the `keywords:inflect` and the `keywords:lang` parameters must be set. Pro Search supports English inflections natively and you can add support for other languages by adding inflection rules to your [Config file](/general/system-configuration-overrides.md):
Pro Search supports matching of keywords by their stem [stemming](http://en.wikipedia.org/wiki/Stemming). To enable this, both the `keywords:stem` and the `keywords:lang` parameters must be set. English stemming is supported natively, using a [Porter stemmer](http://tartarus.org/martin/PorterStemmer/) class, and you can add support for other languages by adding this to your [Config file](/general/system_configuration_overrides.md):
113
+
Pro Search supports matching of keywords by their stem [stemming](http://en.wikipedia.org/wiki/Stemming). To enable this, both the `keywords:stem` and the `keywords:lang` parameters must be set. English stemming is supported natively, using a [Porter stemmer](http://tartarus.org/martin/PorterStemmer/) class, and you can add support for other languages by adding this to your [Config file](/general/system-configuration-overrides.md):
114
114
115
115
```
116
116
$config['pro_search_stemmers'][lang] = array(
@@ -154,7 +154,7 @@ You can use the Distance filter to limit results by a given maximum distance. Th
154
154
NOTE: **Note:** Use two separate fields instead of a single one for better performance.
155
155
156
156
### Variables
157
-
The Distance filter also makes this variable available in the [Results tag](/add-ons/pro-search/tags#results-tag):
157
+
The Distance filter also makes this variable available in the [Results tag](/add-ons/pro-search/tags.md#exppro_searchresults):
158
158
159
159
#### `{pro_search_distance}`
160
160
The calculated distance in the given unit for this entry.
@@ -163,7 +163,7 @@ NOTE: **Note:** Using the Distance filter will return the search results ordered
163
163
164
164
## Field Search
165
165
166
-
You can use the native `search:field_name` parameter to target specific fields. Additionally, Pro Search can target the entry’s ***title***, ***url_title***, ***status***, target [Grid](/fieldtypes/grid.md) columns, use multiple values for [numeric matching](/channel/channel_entries.md#numeric-matching) (in combination with the `gt`, `gte`, `lt` and `lte` params), and use ***starts / ends with*** matching.
166
+
You can use the native `search:field_name` parameter to target specific fields. Additionally, Pro Search can target the entry’s ***title***, ***url_title***, ***status***, target [Grid](/fieldtypes/grid.md) columns, use multiple values for [numeric matching](/channels/entries.md#numeric-matching) (in combination with the `gt`, `gte`, `lt` and `lte` params), and use ***starts / ends with*** matching.
Copy file name to clipboardExpand all lines: docs/channels/entries.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -893,7 +893,7 @@ The "count" out of the current entries being displayed. If five entries are bein
893
893
<a href="{cp_edit_entry_url}">Edit Entry</a>
894
894
{/if}
895
895
896
-
The URL of the entry form in the control panel where this entry can be edited. It is recommended you wrap this variable in an `{if logged_in}` conditional to hide your control panel's URL from regular site visitors. If you are running a membership-based site, hide it behind an appropriate `logged_in_primary_role_id` conditional or use [exp:member:has_role](/member/member-roles-tags.html#expmemberhas_role). For example, to hide this link from everyone but Super Admins:
896
+
The URL of the entry form in the control panel where this entry can be edited. It is recommended you wrap this variable in an `{if logged_in}` conditional to hide your control panel's URL from regular site visitors. If you are running a membership-based site, hide it behind an appropriate `logged_in_primary_role_id` conditional or use [exp:member:has_role](/member/member-roles-tags.md#expmemberhas_role). For example, to hide this link from everyone but Super Admins:
{!-- required to prevent EE from outputting form if commenting is disabled or expired --}
40
40
{if comments_disabled}Comments on this entry are currently disabled.{/if}
41
41
{if comments_expired}Commenting on this entry has expired.{/if}
@@ -46,6 +46,8 @@ This form should be placed on a "single-entry" type page such as a comments page
46
46
47
47
TIP: **Tip:** Notice the variables in the "value" form fields? These allow us to show the user's information in the form automatically if they click the "remember personal info" option.
48
48
49
+
{{embed:_tips/form-validation.md}}
50
+
49
51
## Comment Form Tag
50
52
51
53
### Parameters
@@ -54,28 +56,6 @@ TIP: **Tip:** Notice the variables in the "value" form fields? These allow us to
54
56
55
57
{{embed:_tips/form-attributes.md}}
56
58
57
-
#### `entry_id=`
58
-
59
-
entry_id="24"
60
-
61
-
You can hard code the comment form tag to display a comment form for a specific channel entry by its entry ID.
62
-
63
-
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
64
-
65
-
#### `preview=`
66
-
67
-
preview="channel/preview"
68
-
69
-
This is a **required** parameter if you are using comment previews indicating which template should be used for comment previews. Like other "path" variables in ExpressionEngine you will use the Template Group/Template name. More on previewing can be found in the [Comment Previewing](#comment-previewing) section.
70
-
71
-
#### `url_title=`
72
-
73
-
url_title="my_wedding"
74
-
75
-
You can hard code the comment for tag to display a comment form for a specific channel entry by its URL title.
76
-
77
-
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
78
-
79
59
#### `channel=`
80
60
81
61
channel="news"
@@ -86,6 +66,14 @@ If you link to your comment form page using the entry's URL Title, then you are
86
66
87
67
Because you can have the same URL Title in different channels, using this parameter will ensure that the comment submitted will be associated with the correct entry. Without this parameter, it is possible that the comment could be associated with an entry in a different channel that happens to have the same URL Title.
88
68
69
+
#### `entry_id=`
70
+
71
+
entry_id="24"
72
+
73
+
You can hard code the comment form tag to display a comment form for a specific channel entry by its entry ID.
74
+
75
+
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
76
+
89
77
#### `form_class=`
90
78
91
79
form_class="news_comment_form"
@@ -98,6 +86,19 @@ With this parameter, you can specify the css class you want the form to have, en
98
86
99
87
With this parameter, you can specify the css id you want the form to have. The default value is 'comment_form'
100
88
89
+
90
+
#### `inline_errors=`
91
+
92
+
inline_errors="yes"
93
+
94
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the type of error reporting: inline or error template.
95
+
96
+
#### `preview=`
97
+
98
+
preview="channel/preview"
99
+
100
+
This is a **required** parameter if you are using comment previews indicating which template should be used for comment previews. Like other "path" variables in ExpressionEngine you will use the Template Group/Template name. More on previewing can be found in the [Comment Previewing](#comment-previewing) section.
101
+
101
102
#### `return=`
102
103
103
104
return="template_group/template/url_title"
@@ -109,6 +110,20 @@ This parameter allows you to define where the user will be returned after submit
109
110
110
111
If this parameter is not defined, they will be returned to the form page.
111
112
113
+
#### `return_error=`
114
+
115
+
return_error="template_group/error"
116
+
117
+
This parameter is for use with [form validation and error handling](/templates/form-validation.md) and determines the template to return to if validation errors are detected.
118
+
119
+
#### `url_title=`
120
+
121
+
url_title="my_wedding"
122
+
123
+
You can hard code the comment for tag to display a comment form for a specific channel entry by its URL title.
124
+
125
+
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
126
+
112
127
### Conditionals
113
128
114
129
[TOC=4]
@@ -227,11 +242,11 @@ A request for an edit will return a response array. In the case of an error, an
227
242
228
243
### Editing Permissions
229
244
230
-
By using the [{if editable}](/comment/entries.html#if-editable) conditional in the Comment Entries tag, you can output a link, instructions or a form if the viewing member has permission to edit the comment, and by using the {if can_moderate_comment} you can display whatever is appropriate if the viewing member has permission to moderate (close) the comment.
245
+
By using the [{if editable}](/comment/entries.md#if-editable) conditional in the Comment Entries tag, you can output a link, instructions or a form if the viewing member has permission to edit the comment, and by using the {if can_moderate_comment} you can display whatever is appropriate if the viewing member has permission to moderate (close) the comment.
231
246
232
247
For members without administrative access, in order to edit a comment they must be logged in, the author of the comment, and the editing time limit must not have expired. If a member has a role with permission to edit the comments of any entry, that member will have edit permissions regardless of the editing time limit.
233
248
234
-
Comment moderators may close the comment. The edit time limit does not apply to moderators.
249
+
Comment moderators may close the comment. The edit time limit does not apply to moderators.
235
250
236
251
Superadmins will always have {editable} and {can_moderate_comment} permissions on any comment.
Copy file name to clipboardExpand all lines: docs/control-panel/utilities/data-operations.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Run this utility to convert all files stored in the database from sites previous
59
59
60
60
It is recommended that you make sure all installed add-ons are compatible with ExpressionEngine 7 and newer, and that you have made a backup of your database before running the utility.
61
61
62
-
After the update operation is completed, visit `Content & Design Settings` to disable [Compatibility Mode](control-panel/file-manager/file-manager.html#compatibility-mode) for File Manager.
62
+
After the update operation is completed, visit `Content & Design Settings` to disable [Compatibility Mode](control-panel/file-manager/file-manager.md#compatibility-mode) for File Manager.
Copy file name to clipboardExpand all lines: docs/development/addon-development-overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
12
12
With custom add-ons you can add new fieldtypes, features, template tags, and much more to ExpressionEngine. Here we are going to look at different parts of an add-on, and how to define just what our add-on is going to do.
13
13
14
-
TIP: In this section, we're explaining the parts of an add-on. No need to memorize everything though, the [CLI](cli/intro.html) will generate all the pieces we need based on what functions we want our add-on to have.
14
+
TIP: In this section, we're explaining the parts of an add-on. No need to memorize everything though, the [CLI](cli/intro.md) will generate all the pieces we need based on what functions we want our add-on to have.
15
15
16
16
[TOC]
17
17
@@ -32,7 +32,7 @@ Here are some ideas of what you can accomplish with a custom add-on:
32
32
These are just a few ideas of what you can do with custom add-ons. The possibilities are almost endless.
33
33
34
34
## Getting Started
35
-
Getting started making an add-on is incredibly easy with the CLI. To begin making an add-on, simply use the [`make:addon` command](/cli/built-in-commands/make-addon.md) from the [CLI](/cli/intro.html).
35
+
Getting started making an add-on is incredibly easy with the CLI. To begin making an add-on, simply use the [`make:addon` command](/cli/built-in-commands/make-addon.md) from the [CLI](/cli/intro.md).
36
36
37
37
TIP: If you are working with an existing add-on, we recommend you start with [Modernizing add-ons](development/modernizing-existing-add-ons.md)
0 commit comments