Skip to content

Document new form session data setting #1611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/manual/article-management/insert-tags.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Lightbox-Bild einfügen.
| `{{email_close}}` | Dieses Tag wird mit `</a>` ersetzt. Beispiel: `{{email_open::foo@example.org}}E-Mail Kontakt{{email_close}}`. |
| `{{email_url::*}}` | Dieses Tag wird nur durch die kodierte E-Mail-Adresse ersetzt. |
| `{{post::*}}` | Mit diesem Tag kann eine angegebene Post-Variable ausgelesen und angezeigt werden. Kann z. B. genutzt werden, um auf einzelne Felder eines gesendeten Formulars zuzugreifen (nicht mehr verfügbar ab **Contao 5.0**, stattdessen `{{form_session_data::*}}` verwenden). |
| `{{form_session_data::*}}` | {{< version-tag "5.0" >}} Dieses Tag kann genutzt werden, um auf einzelne Felder eines gesendeten Formulars zuzugreifen. Dies ersetzt den alten `{{post::*}}` Insert-Tag. Es ist zu beachten, dass die Formularsession nur eine Lebenszeit von 10 Sekunden hat. |
| `{{form_session_data::*}}` | {{< version-tag "5.0" >}} Dieses Tag kann genutzt werden, um auf einzelne Felder eines gesendeten Formulars zuzugreifen. Dies ersetzt den alten `{{post::*}}` Insert-Tag. Es ist zu beachten, dass die Formularsession nur eine Lebenszeit von 10 Sekunden hat. {{< version-tag "5.6" >}} Das Speichern der Formulardaten in der Session muss in den Einstellungen des Formulars explizit aktiviert werden. |
| `{{lang::*}}` | Mit diesem Tag können fremdsprachige Wörter in einem Text markiert werden: `{{lang::fr}}Au revoir{{lang}}`. Dies wird ersetzt mit `<span lang="fr">Au revoir</span>`. |
| `{{abbr::*}}` | Abkürzungen in einem Text markieren: `{{abbr::World Wide Web}}WWW{{abbr}}`. Dies wird ersetzt mit `<abbr title="World Wide Web">WWW</abbr>`. |
| `{{acronym::*}}` | Akronyme in einem Text markieren: `{{acronym::Multipurpose Internet Mail Extensions}}MIME{{acronym}}`. Dies wird ersetzt mit `<abbr title="Multipurpose Internet Mail Extensions">MIME</abbr>`, da `<acronym>` veraltet ist. |
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/article-management/insert-tags.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The following insert tags allow you to perform various tasks, such as inserting
| `{{email_close}}` | This tag is replaced with `</a>`. Example: `{{email_open::foo@example.org}}Contact us{{email_close}}`. |
| `{{email_url::*}}` | This tag is replaced only by the encoded email address. |
| `{{post::*}}` | This tag can be used to read and display a specified post variable. Can be used, for example, to access individual fields of a sent form (not available anymore in **Contao 5.0**, use `{{form_session_data::*}}` instead). |
| `{{form_session_data::*}}` | {{< version-tag "5.0" >}} This tag can be used to access individual fields of a submitted form. This replaces the old `{{post::*}}` insert tag. Note that this data is only available for 10 seconds after the form submission. |
| `{{form_session_data::*}}` | {{< version-tag "5.0" >}} This tag can be used to access individual fields of a submitted form. This replaces the old `{{post::*}}` insert tag. Note that this data is only available for 10 seconds after the form submission. {{< version-tag "5.6" >}} Storing the form data in the session needs to be explicitly enabled in the form. |
| `{{lang::*}}` | With this tag foreign words in a text can be marked: `{{lang::fr}}Au revoir{{lang}}`. This is replaced with `<span lang="fr">Au revoir</span>`. |
| `{{abbr::*}}` | Mark abbreviations in a text: `{{abbr::World Wide Web}}WWW{{abbr}}`. This is replaced with `<abbr title="World Wide Web">WWW</abbr>`. |
| `{{acronym::*}}` | Select acronyms in a text: `{{acronym::Multipurpose Internet Mail Extensions}}MIME{{acronym}}`. This will be replaced with `<abbr title="Multipurpose Internet Mail Extensions">MIME</abbr>` since `<acronym>` has been deprecated. |
Expand Down