From 7b3585045038b1912dd1008eddd2bc044cfd75a3 Mon Sep 17 00:00:00 2001 From: FluidTYPO3 VHS Date: Thu, 2 Jun 2022 18:57:31 +0000 Subject: [PATCH] [TASK] Update XSD schema --- Resources/Private/Schemas/Vhs.xsd | 55 +++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 10 deletions(-) diff --git a/Resources/Private/Schemas/Vhs.xsd b/Resources/Private/Schemas/Vhs.xsd index b8cc9be3e..e191423d7 100644 --- a/Resources/Private/Schemas/Vhs.xsd +++ b/Resources/Private/Schemas/Vhs.xsd @@ -1847,6 +1847,28 @@ Loads FAL records associated with records of arbitrary types. `. + +The file data can be loaded and displayed with: + + {v:content.resources.fal(field: 'settings.image') + -> v:iterator.first() + -> v:variable.set(name: 'image')} + + + + + +### Image preview in backend + +To load image data for the "Preview" section in the backend's page view, +you have to pass the `record` attribute: + + {v:content.resources.fal(field: 'settings.image', record: record)} /]]> @@ -2444,7 +2466,7 @@ used and arguments can be used individually or in any combination. - + ]]> @@ -2839,8 +2861,10 @@ Prepends one string on another. Although this task is very easily done in standard Fluid - i.e. {add}{subject} - this ViewHelper makes advanced chained inline processing possible: + {dateTime.timestamp -> v:math.sum(b: 3600) + -> v:format.prepend(add: '@') -> v:format.date(format: 'Y-m-d H:i')} /]]> @@ -5082,7 +5106,7 @@ http://scottjehl.github.io/picturefill/ - + @@ -5339,7 +5363,7 @@ pages the first page is rendered by default unless specified. - + @@ -5503,7 +5527,7 @@ media breakpoints ### Example - + @@ -5560,6 +5584,11 @@ http://scottjehl.github.io/picturefill/ + + + + + @@ -5689,7 +5718,7 @@ information. - + @@ -8829,12 +8858,12 @@ Require the extension static_info_table. - + - + @@ -9078,7 +9107,7 @@ if the requested page is not translated in the current language. - + @@ -10664,6 +10693,12 @@ DEPRECATED: use v:menu.sub instead @@ -11093,7 +11128,7 @@ arguments were sent directly to the Controller action. - + @@ -12220,7 +12255,7 @@ or it's derivate if differing dimesions are provided. - +