Skip to content

Commit 7b35850

Browse files
committed
[TASK] Update XSD schema
1 parent 49e6013 commit 7b35850

File tree

1 file changed

+45
-10
lines changed

1 file changed

+45
-10
lines changed

Resources/Private/Schemas/Vhs.xsd

+45-10
Original file line numberDiff line numberDiff line change
@@ -1847,6 +1847,28 @@ Loads FAL records associated with records of arbitrary types.
18471847
<xsd:element name="content.resources.fal">
18481848
<xsd:annotation>
18491849
<xsd:documentation><![CDATA[Content FAL relations ViewHelper
1850+
1851+
### Render a single image in a content element
1852+
1853+
We assume that the flux content element has an IRRE file field
1854+
`<flux:field.inline.fal name="settings.image">`.
1855+
1856+
The file data can be loaded and displayed with:
1857+
1858+
{v:content.resources.fal(field: 'settings.image')
1859+
-> v:iterator.first()
1860+
-> v:variable.set(name: 'image')}
1861+
<f:if condition="{image}">
1862+
<f:image src="{image.id}"/>
1863+
</f:if>
1864+
1865+
1866+
### Image preview in backend
1867+
1868+
To load image data for the "Preview" section in the backend's page view,
1869+
you have to pass the `record` attribute:
1870+
1871+
{v:content.resources.fal(field: 'settings.image', record: record)}
18501872
/]]></xsd:documentation>
18511873
</xsd:annotation>
18521874
<xsd:complexType mixed="true">
@@ -2444,7 +2466,7 @@ used and arguments can be used individually or in any combination.
24442466
</xsd:attribute>
24452467
<xsd:attribute type="xsd:boolean" name="whitespaceBetweenHtmlTags" default="false">
24462468
<xsd:annotation>
2447-
<xsd:documentation><![CDATA[Eliminate ALL whitespace characters between HTML tags]]></xsd:documentation>
2469+
<xsd:documentation><![CDATA[Eliminate ALL whitespace characters between HTML tags. Use this together with <f:format.raw>]]></xsd:documentation>
24482470
</xsd:annotation>
24492471
</xsd:attribute>
24502472
<xsd:attribute type="xsd:boolean" name="tabs" default="false">
@@ -2839,8 +2861,10 @@ Prepends one string on another. Although this task is very
28392861
easily done in standard Fluid - i.e. {add}{subject} - this
28402862
ViewHelper makes advanced chained inline processing possible:
28412863

2864+
<!-- Adds 1H to DateTime, formats using timestamp input which requires prepended @ -->
28422865
{dateTime.timestamp
28432866
-> v:math.sum(b: 3600)
2867+
-> v:format.prepend(add: '@')
28442868
-> v:format.date(format: 'Y-m-d H:i')}
28452869
<!-- You don't have to break the syntax into lines; done here for display only -->
28462870
/]]></xsd:documentation>
@@ -5082,7 +5106,7 @@ http://scottjehl.github.io/picturefill/
50825106
<xsd:documentation><![CDATA[Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.]]></xsd:documentation>
50835107
</xsd:annotation>
50845108
</xsd:attribute>
5085-
<xsd:attribute type="xsd:integer" name="quality" default="85">
5109+
<xsd:attribute type="xsd:integer" name="quality" default="NULL">
50865110
<xsd:annotation>
50875111
<xsd:documentation><![CDATA[Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.]]></xsd:documentation>
50885112
</xsd:annotation>
@@ -5339,7 +5363,7 @@ pages the first page is rendered by default unless specified.
53395363
<xsd:documentation><![CDATA[Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.]]></xsd:documentation>
53405364
</xsd:annotation>
53415365
</xsd:attribute>
5342-
<xsd:attribute type="xsd:integer" name="quality" default="85">
5366+
<xsd:attribute type="xsd:integer" name="quality" default="NULL">
53435367
<xsd:annotation>
53445368
<xsd:documentation><![CDATA[Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.]]></xsd:documentation>
53455369
</xsd:annotation>
@@ -5503,7 +5527,7 @@ media breakpoints
55035527

55045528
### Example
55055529

5506-
<v:media.picture src="fileadmin/some-image.png" alt="Some Image">
5530+
<v:media.picture src="fileadmin/some-image.png" alt="Some Image" loading="lazy">
55075531
<v:media.source media="(min-width: 1200px)" width="500c" height="500c" />
55085532
<v:media.source media="(min-width: 992px)" width="300c" height="300c" />
55095533
<v:media.source media="(min-width: 768px)" width="200c" height="200c" />
@@ -5560,6 +5584,11 @@ http://scottjehl.github.io/picturefill/
55605584
<xsd:documentation><![CDATA[CSS class(es) to set.]]></xsd:documentation>
55615585
</xsd:annotation>
55625586
</xsd:attribute>
5587+
<xsd:attribute type="xsd:string" name="loading" default="NULL">
5588+
<xsd:annotation>
5589+
<xsd:documentation><![CDATA[Native lazy-loading for images. Can be "lazy", "eager" or "auto"]]></xsd:documentation>
5590+
</xsd:annotation>
5591+
</xsd:attribute>
55635592
</xsd:complexType>
55645593
</xsd:element>
55655594
<xsd:element name="media.size">
@@ -5689,7 +5718,7 @@ information.
56895718
<xsd:documentation><![CDATA[Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.]]></xsd:documentation>
56905719
</xsd:annotation>
56915720
</xsd:attribute>
5692-
<xsd:attribute type="xsd:integer" name="quality" default="85">
5721+
<xsd:attribute type="xsd:integer" name="quality" default="NULL">
56935722
<xsd:annotation>
56945723
<xsd:documentation><![CDATA[Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.]]></xsd:documentation>
56955724
</xsd:annotation>
@@ -8829,12 +8858,12 @@ Require the extension static_info_table.
88298858
<xsd:documentation><![CDATA[Tag name to use for child nodes surrounding links, list and flags only]]></xsd:documentation>
88308859
</xsd:annotation>
88318860
</xsd:attribute>
8832-
<xsd:attribute type="xsd:string" name="defaultIsoFlag" default="'gb'">
8861+
<xsd:attribute type="xsd:string" name="defaultIsoFlag" default="NULL">
88338862
<xsd:annotation>
88348863
<xsd:documentation><![CDATA[ISO code of the default flag]]></xsd:documentation>
88358864
</xsd:annotation>
88368865
</xsd:attribute>
8837-
<xsd:attribute type="xsd:string" name="defaultLanguageLabel" default="'English'">
8866+
<xsd:attribute type="xsd:string" name="defaultLanguageLabel" default="NULL">
88388867
<xsd:annotation>
88398868
<xsd:documentation><![CDATA[Label for the default language]]></xsd:documentation>
88408869
</xsd:annotation>
@@ -9078,7 +9107,7 @@ if the requested page is not translated in the current language.
90789107
</xsd:attribute>
90799108
<xsd:attribute type="xsd:boolean" name="noCacheHash" default="false">
90809109
<xsd:annotation>
9081-
<xsd:documentation><![CDATA[When TRUE supresses the cHash query parameter created by TypoLink. You should not need this.]]></xsd:documentation>
9110+
<xsd:documentation><![CDATA[When TRUE supresses the cHash query parameter created by TypoLink. You should not need this. Has no effect on TYPO3v11 and above.]]></xsd:documentation>
90829111
</xsd:annotation>
90839112
</xsd:attribute>
90849113
<xsd:attribute type="xsd:string" name="section" default="''">
@@ -10664,6 +10693,12 @@ DEPRECATED: use v:menu.sub instead
1066410693
<xsd:element name="page.resources.fal">
1066510694
<xsd:annotation>
1066610695
<xsd:documentation><![CDATA[Page FAL resource ViewHelper.
10696+
10697+
Do not use the "uid" argument in the "Preview" section.
10698+
Instead, use the "record" argument and pass the entire record.
10699+
This bypasses visibility restrictions that normally apply when you attempt
10700+
to load a record by UID through TYPO3's PageRepository, which is what the
10701+
resource ViewHelpers do if you only pass uid.
1066710702
/]]></xsd:documentation>
1066810703
</xsd:annotation>
1066910704
<xsd:complexType mixed="true">
@@ -11093,7 +11128,7 @@ arguments were sent directly to the Controller action.
1109311128
</xsd:attribute>
1109411129
<xsd:attribute type="xsd:string" name="vendorName" default="NULL">
1109511130
<xsd:annotation>
11096-
<xsd:documentation><![CDATA[Vendor name scope to use in request]]></xsd:documentation>
11131+
<xsd:documentation><![CDATA[Vendor name scope to use in request. WARNING: only applies to TYPO3 versions below 10.4]]></xsd:documentation>
1109711132
</xsd:annotation>
1109811133
</xsd:attribute>
1109911134
<xsd:attribute type="xsd:string" name="pluginName" default="NULL">
@@ -12220,7 +12255,7 @@ or it's derivate if differing dimesions are provided.
1222012255
<xsd:documentation><![CDATA[Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.]]></xsd:documentation>
1222112256
</xsd:annotation>
1222212257
</xsd:attribute>
12223-
<xsd:attribute type="xsd:integer" name="quality" default="85">
12258+
<xsd:attribute type="xsd:integer" name="quality" default="NULL">
1222412259
<xsd:annotation>
1222512260
<xsd:documentation><![CDATA[Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.]]></xsd:documentation>
1222612261
</xsd:annotation>

0 commit comments

Comments
 (0)