Skip to content

Commit

Permalink
[TASK] Move content of "Data Types"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
linawolf committed Dec 2, 2024
1 parent fe5503c commit 65c3986
Show file tree
Hide file tree
Showing 18 changed files with 348 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 65c3986

Please sign in to comment.