What is the best way to debug Typoscript in TYPO3 CMS?

前端 未结 3 1376
梦毁少年i
梦毁少年i 2020-12-13 15:10

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?

3条回答
  •  醉酒成梦
    2020-12-13 15:48

    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):

    • The template analyser has an option: "View the complete TS Listing", so can search in the whole created typoscript! Including conditions.
    • TS Object Browser: you can check conditions to simulate different situations

    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:

    • tstemplate
    • tstemplate_ceditor
    • tstemplate_info
    • tstemplate_objbrowser
    • tstemplate_analyzer
    • info_pagetsconfig (info modul)
    • tsconfig_help (addition to the info modul)

    It may happen, that someone else just deactivated them.

提交回复
热议问题