0

blog_exampleというサンプル拡張機能をインストールしましたが、バックエンド モジュールを開くと、バックエンド テンプレート ( blog_example /Resources/プライベート/バックエンド/テンプレート/ブログ/index.html )。FE テンプレートにテキストを追加すると、実際にはバックエンド モジュールに表示されます。

何が間違っている可能性がありますか?このサンプル拡張機能のインストールは明らかです。何も変更していません。

blog_example /Configuration/TypoScript/constants.txtには (BE モジュールについて):

module.tx_blogexample {
    view {
        templateRootPath = EXT:blog_example/Resources/Private/Backend/Templates/
        partialRootPath = EXT:blog_example/Resources/Private/Partials/
        layoutRootPath = EXT:blog_example/Resources/Private/Backend/Layouts/
    }
}

blog_example /Configuration/TypoScript/setup.txtには (BE モジュールについて):

module.tx_blogexample {
    settings < plugin.tx_blogexample.settings
    persistence < plugin.tx_blogexample.persistence
    view < plugin.tx_blogexample.view
    view {
        templateRootPath = {$module.tx_blogexample.view.templateRootPath}
        partialRootPath = {$module.tx_blogexample.view.partialRootPath}
        layoutRootPath = {$module.tx_blogexample.view.layoutRootPath}
    }
}

私は本当に混乱しています。ありがとう。

4

1 に答える 1

1

解決済み - テンプレート構成に静的 TS テンプレートを含めることを忘れないでください。マイケルに感謝します。

于 2013-08-07T07:50:45.940 に答える