Skip to content

Commit

Permalink
[Backport 13.4] [TASK] Move content of "Data Types" (#1464)
Browse files Browse the repository at this point in the history
* [TASK] Move content of "Data Types"

There are no real data types in TypoScript, there are just certain
string formats expected in some properties.

Where the former "data type" is an expected input for exactly one function, move the expected input to that function.

Where it works like a function itself, move it to functions,

Move the rest of expected string formats to the syntax but make clear they are no real types.

Releases: main, 13.4

* Apply suggestions from code review

Co-authored-by: Stefan Frömken <[email protected]>

* Update Documentation/Functions/Wrap.rst

* Apply suggestions from code review

Co-authored-by: Stefan Frömken <[email protected]>

* Update Documentation/Functions/Wrap.rst

---------

Co-authored-by: lina.wolf <[email protected]>
Co-authored-by: Lina Wolf <[email protected]>
Co-authored-by: Stefan Frömken <[email protected]>
  • Loading branch information
4 people authored Dec 5, 2024
1 parent ef0d87c commit 4a142f3
Show file tree
Hide file tree
Showing 18 changed files with 346 additions and 594 deletions.
4 changes: 2 additions & 2 deletions Documentation/ContentObjects/Hmenu/Tmenu/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ These properties are all the item states used by :typoscript:`TMENU`.
.. warning::

Be aware to properly escape menu item content in order to prevent
Cross-site scripting vulnerabilities. It is therefore highly recommended
Cross-site scripting vulnerabilities. It is therefore highly recommended
to use :php:`stdWrap.htmlSpecialChars = 1` in all TMENU item states.

The following Item states are listed from the least to the highest priority:
Expand Down Expand Up @@ -287,7 +287,7 @@ Properties

.. confval:: target
:name: menu-common-properties-target
:type: :ref:`data-type-target`
:type: string
:Default: self

Target of the menu links
Expand Down
2 changes: 1 addition & 1 deletion Documentation/ContentObjects/Hmenu/Tmenu/Tmenuitem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Properties

.. confval:: altTarget
:name: tmenuitem-altTarget
:type: :ref:`data-type-target`
:type: string

Alternative target overriding the target property of the
ref:`TMENU <tmenu>`, if set.
Expand Down
Loading

0 comments on commit 4a142f3

Please sign in to comment.