headless icon indicating copy to clipboard operation
headless copied to clipboard

Setup JSON and fluid rendering at one time

Open lukaszuznanski opened this issue 4 years ago • 1 comments
trafficstars

Add setup of JSON and fluid rendering at one time using different page types. Also document how to use it and implement it.

lukaszuznanski avatar Oct 15 '21 13:10 lukaszuznanski

It is possible, you can even get JSON output with the same site configuration, you can change typeNum of headless output, just overwrite this file https://github.com/TYPO3-Initiatives/headless/blob/master/Configuration/TypoScript/Configuration/PageConfiguration.typoscript#L3 keep your TYPO3 rendering configuration at typeNum 0, and set headless output for e.g. 200, so when you enter your website without any additional parameters, you would see your standard website, and when you add GET &type=200 you will see headless output :).

lukaszuznanski avatar Oct 15 '21 14:10 lukaszuznanski

Also see #477.

cweiske avatar Oct 19 '23 13:10 cweiske

solved by this realease https://github.com/TYPO3-Headless/headless/releases/tag/v4.2.0

lukaszuznanski avatar Jan 24 '24 14:01 lukaszuznanski