linestorm / poll-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.
Poll component for LineStormCMS for symfony 2.3
dev-master
2014-06-09 21:45 UTC
Requires
- php: >=5.3.0
- linestorm/post-bundle: dev-master
- symfony/symfony: >=2.3
This package is auto-updated.
Last update: 2020-04-10 17:18:21 UTC
README
Poll Component for the Post Module for the LineStorm BlogBundle.
Installation
This module will provide functionality to post blog type content to the LineStorm CMS.
- Download bundle using composer
- Enable the Bundle
- Configure the Bundle
- Installing Assets
- Configuring Assets
Step 1: Download bundle using composer
Add linestorm/poll-bundle
to your composer.json
file, or download it by running the command:
$ php composer.phar require linestorm/poll-component-bundle
Step 2: Enable the bundle
Enable the poll bundle to your app/AppKernel.php
:
public function registerBundles() { $bundles = array( // ... new LineStorm\PollComponentBundle\LineStormPollComponentBundle(), ); }
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: ... # Poll Component poll: Acme\DemoBundle\Entity\BlogPoll poll_option: Acme\DemoBundle\Entity\BlogPollOption poll_answer: Acme\DemoBundle\Entity\BlogPollAnswer
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: { // ... // cms poll library cms_poll: '/path/to/bundles/linestormpollcomponent/js/poll', cms_poll_view: '/path/to/bundles/linestormpollcomponent/js/poll_view', } });
Documentation
See index.md