linestorm/tag-component-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

Tag component for LineStorm Content for symfony 2.3

dev-master 2014-06-09 21:26 UTC

This package is auto-updated.

Last update: 2020-04-10 17:18:22 UTC


README

Tag Component for LineStormCMS.

Installation

This module will provide functionality to add galleries to your content modules in LineStorm CMS.

  1. Download bundle using composer
  2. Enable the Bundle
  3. Configure the Bundle
  4. Installing Assets
  5. Configuring Assets

Step 1: Download bundle using composer

Add linestorm/tag-component-bundle to your composer.json file, or download it by running the command:

$ php composer.phar require linestorm/tag-component-bundle

Step 2: Enable the bundle

Enable the poll bundle to your app/AppKernel.php:

public function registerBundles()
{
    $bundles = array(
        // ...
        new LineStorm\TagComponentBundle\LineStormTagComponentBundle(),
    );
}

Step 3: Configure the Bundle

Add the class entity definitions in the line_storm_cms namespace and the media namespace inside the app/config/config.yml file:

line_storm_cms:
  ...
  entity_classes:
    ...

    # Tag Component
    content_tag:      Acme\DemoBundle\Entity\ContentTag

Step 4: Installing Assets

###Bower Add .bower.json to the dependencies

###Manual Download the modules in .bower.json to your assets folder

Step 5: Configuring Assets

You will need to add these dependency paths to your requirejs config:

requirejs.config({
    paths: {
        // ...

        // article component
        cms_tag:        '/path/to/bundles/linestormtagcomponent/js/tag',
    }
});

Documentation

Read Documentation