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/installation/updating.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
@@ -22,6 +22,8 @@ WARN: **Important** Upgrading major version (example from v5.x to v6.x) typicall
22
22
23
23
ExpressionEngine supports one-click updating as of **Version 4.0** or newer. If you are running a version older than 4, then you must perform a [manual update](#updating-manually).
24
24
25
+
NOTE: **Note:** If updating from a version prior to ExpressionEngine 6, you may need to rename or remove `system/ee/EllisLab` directory manually. You will also need to manually copy the [latest index.php and admin.php files](_downloads/EE6_Index_Admin.zip) to your site's root folder.
26
+
25
27
When an update is available, you'll see the version number in the control panel footer turn yellow or red. Click the version number, then click "Update Now".
26
28
27
29
**Upgrade Steps**
@@ -31,8 +33,6 @@ When an update is available, you'll see the version number in the control panel
31
33
32
34
In the rare case an update fails, please read [Troubleshooting Automatic Updates](troubleshooting/general.md#troubleshooting-automatic-updates).
33
35
34
-
NOTE: **Note:** If updating from a version prior to ExpressionEngine 6, you may need to rename or remove `system/ee/EllisLab` directory manually. You will also need to manually copy the [latest index.php and admin.php files](_downloads/EE6_Index_Admin.zip) to your site's root folder.
Copy file name to clipboardExpand all lines: docs/member/login.md
+1-36Lines changed: 1 addition & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,6 @@ Output a login form.
34
34
35
35
Allows you to specify the action attribute of the <form> tag. Handy if you need to ensure that authentication points to SSL portions of your site from non-SSL portions. Often used in conjunction with the return= parameter and the [{current_url} global variable](templates/globals/single-variables.md#current_url) so your visitors will go back to the page and domain they logged in from.
36
36
37
-
### `error_handling=`
38
-
39
-
error_handling="inline"
40
-
41
-
Choose to display error messages inline (see [Error Messages](#errors)). By default, errors are displayed with the user message template.
42
-
43
37
### `form_class=`
44
38
45
39
form_class="login"
@@ -113,35 +107,6 @@ It is recommended that you use this variable as indicated in the example code at
113
107
{/if}
114
108
115
109
116
-
117
-
## Variable Pairs
118
-
119
-
### `{errors}`
120
-
121
-
Form submission errors are displayed using a "looping pair" as there can be more than 1 error in a form submission.
122
-
123
-
{errors}
124
-
<p>{error}</p>
125
-
{/errors}
126
-
127
-
#### Error Tag Pair Parameters
128
-
129
-
##### `backspace=`
130
-
131
-
backspace="3"
132
-
133
-
The `backspace=` parameter will remove characters, including spaces and line breaks, from the last iteration of the tag pair.
Copy file name to clipboardExpand all lines: docs/templates/conditionals.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -312,17 +312,29 @@ There are a handful of variables that are always available to conditionals.
312
312
313
313
You can test against the email address of the currently logged in user.
314
314
315
-
### `logged_in_group_description`
315
+
### `logged_in_primary_role_id`
316
316
317
-
{if logged_in_group_description *= 'games'} Shall we play a game? {/if}
317
+
{if logged_in_role_id == '7'} You're an "Editor"! {/if}
318
318
319
-
You can test against the group description of the currently logged in user.
319
+
You can test against the Primary Role of the currently logged in user.
320
320
321
-
### `logged_in_role_id`
321
+
### `logged_in_primary_role_name`
322
322
323
-
{if logged_in_role_id == '7'} You're an "Editor"! {/if}
323
+
{if logged_in_primary_role_name *= 'games'} Shall we play a game? {/if}
324
324
325
-
You can test against the Primary Role of the currently logged in user.
325
+
You can test against the primary role name of the currently logged in user.
326
+
327
+
### `logged_in_primary_role_description`
328
+
329
+
{if logged_in_primary_role_description *= 'games'} Shall we play a game? {/if}
330
+
331
+
You can test against the primary role description of the currently logged in user.
332
+
333
+
### `has_role_*X*`
334
+
335
+
{if has_role_editor} Logged in with editor permissions {/if}
336
+
337
+
With `X` being short role name, you can use this conditional to check whether logged in user has certain role. This takes into account all the 'secondary' roles assigned.
0 commit comments