What is the best way to debug typoscript in the TYPO3 CMS?
Assuming I have a list, which is not displayed - what is the strategy to look for the issue?
What is the best way to debug typoscript in the TYPO3 CMS?
Assuming I have a list, which is not displayed - what is the strategy to look for the issue?
Debugging Typoscript is not the most comfortable task, but there are several possibilities. Here are the most common techniques:
stdWrap.debugFunc
Function or use the build-indebugItemConf
method for allMENU
objects. Debug output will be seen in the frontend. Read more in the TYPO3 WikiHope that helps, please post any additions into the comments.
The most important thing is, not to rely on code you found via google. Have a look into TSref and check what is possible.
Just some little additions which are easy to overlook (IMHO):
If you need to debug TypoScript configuration in the backend, go to the "Info"-Modul, select a page in the page tree and then select "Page TSconfig" in the main window. There you will get a info about Page TS Config.
These system extensions are usually installed, but they can be deactivated:
It may happen, that someone else just deactivated them.
SIMPLE: use headerData in typoscript and view source code by this you can debug typoscript.