futjikato/plugintsview

提供最小化包装,用于为插件提供使用 TS 观察器渲染的抽象控制器。

安装: 8

依赖者: 0

建议者: 0

安全: 0

星星: 0

关注者: 1

分支: 0

类型:neos-package

v1.0.0 2016-01-24 21:03 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:19:15 UTC


README

提供最小化包装,用于为插件提供使用 TS 观察器渲染的抽象控制器。

概念来自 https://discuss.neos.io/t/whats-the-best-way-to-render-nodes-inside-a-plugin-using-typoscript/42/2

使用方法

对于插件控制器,使用提供的抽象控制器

use Futjikato\PluginTsView\Controller\PluginController;

class ContentPluginController extends PluginController
{

对于在路径 plugins.<PackageKey>.<ControllerName>.<ActionName> 中渲染 typoscript 路径,使用。
在包密钥中,点被删除,所以上面的例子中路径为: plugins.FutjikatoDevSite.ContentPlugin.index