TYPO3 insert plugin on every pages

后端 未结 2 434
甜味超标
甜味超标 2021-01-27 02:58

I have TYPO3 version 7.6.18. I want to insert some plugin in every pages, I think it may be do with typoscript? Help me please, how to do it ?

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-27 03:32

    You could also load the plugin into lib and render it in your FLUID template.

    TypoScript

    lib.myPlugin = USER
    lib.myPlugin {
        userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
        extensionName = MyExt
        vendorName = MyVendor
        pluginName = Pi1
        switchableControllerActions{
            TheController{
                0 = actionName
            }
        }
    }
    

    FLUID template

    
    

提交回复
热议问题