Skip to content
Snippets Groups Projects
Commit 9b1715c1 authored by linawolf's avatar linawolf Committed by Lina Wolf
Browse files

[DOCS] Fix TypoScript in ViewHelper docs

Replace `:ts:` with ``:typoscript:` in
ViewHelper class comments. `:ts` does not
render properly, see for example
https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us/typo3/fluid/latest/CObject.html

Resolves: #99068
Releases: main, 11.5
Change-Id: Idfac843859a5e9054e6e48f29b19616b2b956dac
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76562


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarLina Wolf <112@linawolf.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChris Müller <typo3@krue.ml>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarLina Wolf <112@linawolf.de>
parent ac601c75
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderS
*
* <f:cObject typoscriptObjectPath="lib.someLibObject" />
*
* Rendered :ts:`lib.someLibObject`.
* Rendered :typoscript:`lib.someLibObject`.
*
* Specify cObject data & current value
* ------------------------------------
......@@ -60,7 +60,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderS
*
* <f:cObject typoscriptObjectPath="lib.customHeader" data="{article}" currentValueKey="title" />
*
* Rendered :ts:`lib.customHeader`. Data and current value will be available in TypoScript.
* Rendered :typoscript:`lib.customHeader`. Data and current value will be available in TypoScript.
*
* Inline notation
* ---------------
......@@ -69,12 +69,12 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderS
*
* {article -> f:cObject(typoscriptObjectPath: 'lib.customHeader')}
*
* Rendered :ts:`lib.customHeader`. Data will be available in TypoScript.
* Rendered :typoscript:`lib.customHeader`. Data will be available in TypoScript.
*
* Accessing the data in TypoScript
* --------------------------------
*
* ::
* .. code-block:: typoscript
*
* lib.customHeader = COA
* lib.customHeader {
......@@ -84,8 +84,8 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderS
* 20.current = 1
* }
*
* When passing an object with ``{data}``, the properties of the object are accessible with :ts:`.field` in
* TypoScript. If only a single value is passed or the ``currentValueKey`` is specified, :ts:`.current = 1`
* When passing an object with ``{data}``, the properties of the object are accessible with :typoscript:`.field` in
* TypoScript. If only a single value is passed or the ``currentValueKey`` is specified, :typoscript:`.current = 1`
* can be used in the TypoScript.
*/
final class CObjectViewHelper extends AbstractViewHelper
......
......@@ -32,7 +32,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
/**
* Renders a string by passing it to a TYPO3 `parseFunc`_.
* You can either specify a path to the TypoScript setting or set the `parseFunc`_ options directly.
* By default :ts:`lib.parseFunc_RTE` is used to parse the string.
* By default :typoscript:`lib.parseFunc_RTE` is used to parse the string.
*
* Examples
* ========
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment