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
<p>This website uses a variety of cookies, which you consent to if you continue to use this site. You can read our <a href="{path='privacy'}">Privacy Policy</a> for details about how these cookies are used, and to grant or withdraw your consent for certain types of cookies.</p>
233
245
@@ -500,4 +512,4 @@ Cookie provider (`ee` or add-on short name)
500
512
501
513
#### `{cookie_lifetime}`
502
514
503
-
Cookie lifetime in seconds. `0` represents session cookies (killed after browsing session ends).
515
+
Cookie lifetime in seconds. `0` represents session cookies (killed after browsing session ends).
Copy file name to clipboardExpand all lines: docs/control-panel/create.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,10 +192,12 @@ Saves the entry and returns the [Entry Manager](control-panel/entry-manager.md)
192
192
193
193
### Preview
194
194
195
-
A live preview of the entry is available if the `channel_prefs_preview_url`is set **or** the [Pages Module](add-ons/pages.md) is installed and a Page URI and template have been set.
195
+
A live preview of the entry is available if the relevant channel's [Preview URL](control-panel/channels.md#settings-tab)is set **or** the [Pages Module](add-ons/pages.md)or [Structure](add-ons/structure/overview.md)is installed and configured with a URI and template.
196
196
197
197
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.
198
198
199
-
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.
199
+
The preview will open a split screen that allows a live preview of edits. The template used to display the preview is based on configured Pages/Structure fields if set and the channel preview URL otherwise.
200
200
201
201
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.
202
+
203
+
Live Preview does require the [HTTP Authorization Header be enabled](troubleshooting/error-messages.md#http-authorization-header-missing).
- Added `submit_to` support in `exp:consent:form` for `site_index` and `action_id` targets, improving consent form posting flexibility [#5193](https://github.com/ExpressionEngine/ExpressionEngine/pull/5193)
29
+
- Added `email_as_username` support to member registration forms so username can be derived from email when configured [#5133](https://github.com/ExpressionEngine/ExpressionEngine/pull/5133)
30
+
- Added Live Preview compatibility token header (`EE-Live-Preview-Token`) for environments that strip Authorization headers [#5223](https://github.com/ExpressionEngine/ExpressionEngine/pull/5223)
31
+
32
+
**Bug Fixes** 💃🐛
33
+
34
+
- Resolved an issue where Live Preview could fail silently when the Authorization header was unavailable by improving token/header handling and error behavior [#5184](https://github.com/ExpressionEngine/ExpressionEngine/pull/5184)[#5223](https://github.com/ExpressionEngine/ExpressionEngine/pull/5223)
35
+
- Resolved file picker drag-and-drop uploads returning incorrect CSRF/404-style failures for oversized requests; upload limit errors are now surfaced correctly [#5215](https://github.com/ExpressionEngine/ExpressionEngine/pull/5215)
36
+
- Resolved Pro Search filtered result issues by disabling entry SQL caching during filter processing and restoring it afterward [#4985](https://github.com/ExpressionEngine/ExpressionEngine/pull/4985)
37
+
- Resolved CKEditor/Pro Search word concatenation caused by HTML stripping in keyword parsing [#5200](https://github.com/ExpressionEngine/ExpressionEngine/pull/5200)
38
+
- Added missing translation strings for two Debug jump menu items [#5212](https://github.com/ExpressionEngine/ExpressionEngine/pull/5212)
39
+
40
+
**Developers** 💻
41
+
42
+
- Fixed PHP deprecation warnings by declaring PDO `MYSQL_ATTR_*` database driver properties used by config-driven options [#5217](https://github.com/ExpressionEngine/ExpressionEngine/pull/5217)
43
+
- Added/updated automated coverage around Live Preview token handling, member email-as-username fallback behavior, consent form submit targets, and Pro Search filtering behavior [#5223](https://github.com/ExpressionEngine/ExpressionEngine/pull/5223)[#5133](https://github.com/ExpressionEngine/ExpressionEngine/pull/5133)[#5193](https://github.com/ExpressionEngine/ExpressionEngine/pull/5193)[#4985](https://github.com/ExpressionEngine/ExpressionEngine/pull/4985)
Copy file name to clipboardExpand all lines: docs/installation/requirements.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,12 @@ If you are hosted on an Apache server, the `AcceptPathInfo` option needs to be e
117
117
- Ask your web host or server admin to enable the option
118
118
- Set your site's URLs to use [query strings](general/url-structure.md#query-strings)
119
119
120
+
If on an Apache server and [Live Preview](control-panel/create.md#preview) shows an error message 'HTTP Authorization Header Missing', you will need to add this line of code to your [.htaccess file](installation/best-practices.md#1-create-an-htaccess-file)
If the [Server Compatibility Wizard](#server-compatibility-wizard) lists URL Segment Support as _Unsupported_, you will need to set your site's URLs to use [query strings](general/url-structure.md#query-strings).
Copy file name to clipboardExpand all lines: docs/member/registration.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,12 @@ Adds the datepicker to your date fields. Defaults to "yes".
31
31
32
32
NOTE: **Note:** If you are manually constructing a date field, in order to apply the date picker you must include `rel="date-picker"`.
33
33
34
+
35
+
### `email_as_username="yes"`
36
+
email_as_username="yes"
37
+
38
+
When set to `yes`, if the username is not specified in the submitted form, the value of the submitted email will be automatically used as the username as well. The username field is not required, but is optional, when this parameter is used.
When switching between sites in the dropdown, whether or not you need to login between sites depends on several factors. The sites must be using the same control panel session type. If using cookies, the cookies need to have the same settings and the control panel url must have the same domain. The site URLs can have different domains, the `admin.php` files may have different domains for the control panel, but the control panel URL in the site settings must be on the same domain. A site will only show in the dropdown if the user has permission to access the control panel for that site.
112
+
109
113
## Multi Site Login
110
114
111
115
If you have multiple sites, you may prefer that when a user logs into one site, they are logged into all sites.
Copy file name to clipboardExpand all lines: docs/troubleshooting/error-messages.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,17 @@ This error---and similar warnings such as **"Warning: imagettftext(): Could not
45
45
46
46
If that is not an option, **Use TrueType Font for Captcha?** should be set to _No_ under `Settings --> CAPTCHA` or CAPTCHAs should be disabled altogether.
47
47
48
+
## HTTP Authorization Header Missing
49
+
50
+
ExpressionEngine returns the following error message when attempting to use [Live Preview](control-panel/create.md#preview): **"HTTP Authorization Header Missing"**
51
+
52
+
### Troubleshooting
53
+
54
+
The Authorization header is stripped by some Apache servers, causing an error rendering the Live Preview. This behavior may be overridden in your [.htaccess file](installation/best-practices.md#1-create-an-htaccess-file) by adding the following line:
0 commit comments