integrated / comment-bundle
Integrated Comment Bundle
Installs: 320
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- integrated/asset-bundle: ~0.7
- integrated/content-bundle: ~0.7
- integrated/library: ~0.7
- integrated/user-bundle: ~0.7
- symfony/framework-bundle: ~2.2
- symfony/symfony: ~2.8 || ~3.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^2.8
This package is not auto-updated.
Last update: 2024-12-21 21:03:04 UTC
README
This bundle provides block management
Requirements
- See the require section in the composer.json
Features
- Ability to add comments to input fields and tinyMCE editor
Documentation
Installation
This bundle can be installed following these steps:
Install using composer
$ php composer.phar require integrated/comment-bundle:~0.6
Enable the bundle
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\CommentBundle\IntegratedCommentBundle()
// ...
);
}
Import the routing
# app/config/routing.yml
integrated_comment:
resource: "@IntegratedCommentBundle/Resources/config/routing.xml"
prefix: "/admin"
Escaping comments
Comments made with tinyMCE will be added as html comments inside the source code, like this:
<p>text <!--integrated-comment=0a80640f3d5e380baab6d8099aad9580-->commented text<!--end-integrated-comment--> not commented text</p>
If you don't like the html comments in your source code you can filter it with twig filter "remove_comments"
{{ content.content|remove_comments }}
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Contributing
Pull requests are welcome. Please see our CONTRIBUTING guide.
About
This bundle is part of the Integrated project. You can read more about this project on the Integrated for Developers website.