Download the PHP package kitpages/user-generated-bundle without Composer
On this page you can find all versions of the php package kitpages/user-generated-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kitpages/user-generated-bundle
More information about kitpages/user-generated-bundle
Files in kitpages/user-generated-bundle
Package user-generated-bundle
Short Description This bundle is an way to add comments on any content of a website.
License BSD
Homepage http://github.com/kitpages/KitpagesUserGeneratedBundle
Informations about the package user-generated-bundle
KitpagesUserGeneratedBundle
Used for common user generated contents like comments, rating,...
For the moment there is only comments with the following features :
- moderation
- email to webmaster
URL : http://www.kitpages.fr/fr/cms/108/kitpagesusergeneratedbundle (in french)
Current status
Beta state
comming soon :
- an administration
Installation
If you are using DEPS
:
[gedmo-doctrine-extensions]
git=http://github.com/l3pp4rd/DoctrineExtensions.git
target=/gedmo-doctrine-extensions
[StofDoctrineExtensionsBundle]
git=https://github.com/stof/StofDoctrineExtensionsBundle.git
target=/bundles/Stof/DoctrineExtensionsBundle
[KitpagesUtilBundle]
git=https://github.com/kitpages/KitpagesUtilBundle.git
target=/bundles/Kitpages/UtilBundle
[KitpagesUserGeneratedBundle]
git=https://github.com/kitpages/KitpagesUserGeneratedBundle.git
target=/bundles/Kitpages/UserGeneratedBundle
Add Kitpages
namespace to your autoloader :
Enable the bundles in your kernel :
Import the routing file :
Configure KitpagesUserGenerated :
Configure StofDoctrineExtensionsBundle :
And then update your database schema :
User's guide
If you want to add a comment system in a given page, you should add this code wherever you want in your twig template :
The "itemReference" parameter is a reference to a comment list. For example if you want comments on the product #45 of your shop, you can use "product-45" as itemReference