linestorm / tag-component-bundle
此包已被弃用且不再维护。没有推荐替代包。
此包最新版本(dev-master)的许可证信息不可用。
LineStorm CMS 内容标签组件,适用于symfony 2.3
dev-master
2014-06-09 21:26 UTC
Requires
- php: >=5.3.0
- linestorm/linestorm-cms: dev-master
- symfony/symfony: >=2.3
This package is auto-updated.
Last update: 2020-04-10 17:18:22 UTC
README
LineStormCMS 标签组件。
安装
此模块将为您的 LineStorm CMS 内容模块提供添加图库的功能。
- 使用 composer 下载包
- 启用包
- 配置包
- 安装资源
- 配置资源
步骤 1: 使用 composer 下载包
将 linestorm/tag-component-bundle
添加到您的 composer.json
文件中,或运行以下命令下载
$ php composer.phar require linestorm/tag-component-bundle
步骤 2: 启用包
在 app/AppKernel.php
中启用 poll 包
public function registerBundles() { $bundles = array( // ... new LineStorm\TagComponentBundle\LineStormTagComponentBundle(), ); }
步骤 3: 配置包
在 app/config/config.yml
文件中添加 line_storm_cms 命名空间和媒体命名空间中的类实体定义
line_storm_cms: ... entity_classes: ... # Tag Component content_tag: Acme\DemoBundle\Entity\ContentTag
步骤 4: 安装资源
###Bower 将 .bower.json 添加到依赖项
###手动下载 .bower.json 中的模块到您的资源文件夹
步骤 5: 配置资源
您需要将这些依赖路径添加到您的 requirejs 配置中
requirejs.config({ paths: { // ... // article component cms_tag: '/path/to/bundles/linestormtagcomponent/js/tag', } });