Last active
June 26, 2018 13:32
-
-
Save Tobi77/0c7e80844b27441659acc5ea0585d91e to your computer and use it in GitHub Desktop.
TYPO3 Fluid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {page.{lang.uid}.available} | |
| ===> ArrayKeyViewHelper | |
| {tui:arrayKey(obj:'{page}', prop:'{lang.uid}', append:'available')} | |
| <f:link.action action="translatedContent" | |
| arguments="{ | |
| uid:page.row.uid, | |
| lang:'{tui:arrayKey(obj:page, prop:lang.uid, append:\'sysLanguageUid\')}' | |
| }" | |
| > | |
| XYZ | |
| </f:link.action> | |
| <f:form.textfield | |
| property="email" | |
| id="text-email" | |
| value="{precheckin.guests.0.email}" | |
| additionalAttributes="{ | |
| data-validation:'[ | |
| {\"validator\":\"notempty\"}, | |
| {\"validator\":\"email\"} | |
| ]' | |
| }" | |
| /> | |
| Escaping | |
| <f:form.select property="gender" | |
| id="input-select-field" | |
| additionalAttributes="{ | |
| data-validation: ' | |
| { | |
| \"validator\":\"notempty\" | |
| } | |
| ' | |
| }" | |
| options=" | |
| { | |
| 1: '{f:translate(extensionName: \\'DwMySpa\', key: \'tx_dwmyspa_personal_data_page.form_salutaion_mrs\')}', | |
| 2: '{f:translate(extensionName: \'DwMySpa\', key: \'tx_dwmyspa_personal_data_page.form_salutaion_mr\')}' | |
| }" | |
| /> | |
| Formulare | |
| <f:form | |
| id="formFilter" | |
| class="mod-filter__form" | |
| action="globalDetailList" | |
| object="{activityFilter}" | |
| name="filter" | |
| enctype="multipart/form-data" | |
| section="tui_blue_hotel-activity" | |
| additionalParams="{tx_tuibluehotel_activity: '{activity: \'403\'}'}" | |
| > | |
| <lv:form.textfield | |
| id="yay" | |
| class="input-text__input" | |
| property="email" | |
| data-validation='[{"validator":"notempty", "options":{"message":"Geben Sie eine gültige"}}]' | |
| /> | |
| JSON Encode | |
| <div class="" | |
| data-module="modules/marketing-message" | |
| data-options='{v:format.json.encode(value:"{timeFadeIn: 100, timeFadeOut: marketingMessage.duration}")}'> | |
| <div type="button" class="btn-three-fwd auto-init" | |
| data-module="modules/overlay/overlay" | |
| data-options='{v:format.json.encode(value: {type: "ajax", launchTransition: 1, autoOpen: 0, url: overlayLink})}' > | |
| <f:form.textfield id="contactSurname" | |
| class="input-text__input" | |
| value="{contact.surname}" | |
| property="surname" | |
| additionalAttributes="{ | |
| required: required, | |
| aria-required: 'true', | |
| data-validation-loc-info: '[{\"large\" : \"prev\"} ]', | |
| data-validation: '[{v:format.json.encode(value: { | |
| validator: \"notempty\", | |
| options: \"{message: \'{errorMessage}\'}\" | |
| })}]' | |
| }" | |
| /> | |
| <f:comment>CustomerMasterId</f:comment> | |
| <f:form.hidden id="protelId" property="protelId" additionalAttributes='{data-protelid: protelIdForJson}' /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment