Skip to content

Commit

Permalink
If Typoscript is 1 then PHP is true (#64)
Browse files Browse the repository at this point in the history
* code typoscript highlight

* code in typoscript

* There is no true in TypoScript

* No TypoScript true but 1

* use then instead of comma

* add then

* TSConfig = 1 equals PHP = true

* remove "true", keep only "1"

* remove "true", keep only "1"

* remove "true", keep only "1"

* Update Documentation/Configuration/TSconfig.rst

---------

Co-authored-by: Chris Müller <[email protected]>
  • Loading branch information
franzholz and brotkrueml authored Jul 28, 2024
1 parent ecc2761 commit 54d3860
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Documentation/Configuration/TSconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ User TSconfig
.. confval:: enableSomething

:type: bool
:Default: false
:Default: 0

If :typoscript:`true`, something is enabled...
If :typoscript:`1` then something is enabled.

Example::

tx_myextension.enableSomething = true
tx_myextension.enableSomething = 1


.. index::
Expand All @@ -49,8 +49,8 @@ Page TSconfig
:type: int
:Default: 5

This value limits something. If it is set to :typoscript:`0` the thing will
be unlimited...
This value limits something. If it is set to :typoscript:`0` something will
be unlimited.


Example, limit something to 10::
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Configuration/TypoScriptReference/Constants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Enable / disable some options
.. confval:: enableThis

:type: bool
:Default: false
:Default: 0

If :php:`true`, something is enabled...
If :typoscript:`1` then something is enabled.

Example::

plugin.tx_example.settings {
enableThis = true
enableThis = 1
}

Configure page ids
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Configuration/TypoScriptReference/Setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Enable / disable some options
.. confval:: enableThat

:type: bool, stdWrap
:Default: false
:Default: 0

If :php:`TRUE`, something is enabled...
If :typoscript:`1` then something is enabled...


Example::
Expand Down

0 comments on commit 54d3860

Please sign in to comment.