2017-07-01 8 views
0

私はTYPO3バージョン7.6.18を持っています。私はすべてのページにいくつかのプラグインを挿入したい、私はそれがtyposcriptとは関係ないと思いますか?どうすればいいですか?TYPO3はすべてのページにプラグインを挿入します

+1

https://stackoverflow.com/questions/1085019/typo3-how-do-i-insert-page-content-into-templateの複製のように見えます –

+0

私は正確にプラグインを挿入する必要があります) – Mikael

答えて

2

あなたはすべてのページ上の特定のプラグインを挿入したい場合は、単にそのようなあなたのページに追加することができます

page = PAGE 
page{ 
    10 = FLUIDTEMPLATE 
    10{ 
     # the fluid template settings 
    } 
    # add a fixed plugin to be rendered after the normal fluid template 
    20 = USER 
    20{ 
     userFunc = \TYPO3\CMS\Extbase\Core\Bootstrap->run 
     extensionName = MyExt 
     vendorName = MyVendor 
     pluginName = Pi1 
     switchableControllerActions{ 
      TheController{ 
       0 = actionName 
      } 
     } 
    } 
} 

これは基本的に、あなたのプラグインをレンダリングし、ページのレンダリングに新しいセクションを追加します。

関連する問題