linestorm / article-component-bundle
Article component for LineStorm Content for symfony 2.3
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
Language:JavaScript
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:29 UTC
README
Article Component for LineStormCMS.
Installation
This module will provide functionality to add articles to your content modules in LineStorm CMS.
- Download bundle using composer
- Enable the Bundle
- Configure the Bundle
- Installing Assets
- Configuring Assets
Step 1: Download bundle using composer
Add linestorm/article-component-bundle
to your composer.json
file, or download it by running the command:
$ php composer.phar require linestorm/article-component-bundle
Step 2: Enable the bundle
Enable the poll bundle to your app/AppKernel.php
:
public function registerBundles() { $bundles = array( // ... new LineStorm\ArticleComponentBundle\LineStormArticleComponentBundle(), ); }
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: ... # Article Component content_article: Acme\DemoBundle\Entity\ContentArticle
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_article: '/path/to/bundles/linestormarticlecomponent/js/article', } });