- PagerFanta.
- PagerFantaBundle.
- lib-geshi.
- CCDNComponent CommonBundle.
- CCDNComponent BBCodeBundle.
- CCDNComponent CrumbTrailBundle.
- CCDNComponent DashboardBundle.
- CCDNForum ForumBundle.
- CCDNForum AdminBundle.
Installation takes only 9 steps:
- Download and install the dependencies.
- Register bundles with autoload.php.
- Register bundles with AppKernel.php.
- Run vendors install script.
- Update your app/config/routing.yml.
- Update your app/config/config.yml.
- Update your database schema.
- Symlink assets to your public web directory.
- Warmup the cache.
Append the following to end of your deps file (found in the root of your Symfony2 installation):
[CCDNForum_KarmaBundle]
git=http://github.com/codeconsortium/CCDNForumKarmaBundle.git
target=/bundles/CCDNForum/KarmaBundle
version=v1.2
Add the following to the registerNamespaces array in the method by appending it to the end of the array.
// app/autoload.php
$loader->registerNamespaces(array(
'CCDNForum' => __DIR__.'/../vendor/bundles',
**...**
));
In your AppKernel.php add the following bundles to the registerBundles method array:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
new CCDNForum\KarmaBundle\CCDNForumKarmaBundle(),
**...**
);
}
From your projects root Symfony directory on the command line run:
$ php bin/vendors install
In your app/config/routing.yml add:
CCDNForumKarmaBundle:
resource: "@CCDNForumKarmaBundle/Resources/config/routing.yml"
prefix: /
In your app/config/config.yml add:
#
# for CCDNForum KarmaBundle
#
ccdn_forum_karma:
user:
profile_route: ccdn_user_profile_show_by_id
template:
engine: twig
Warning:
Set the appropriate layout templates you want under the sections 'layout_templates' and the route to a users profile if you are not using the CCDNUser\ProfileBundle. Otherwise use defaults.
From your projects root Symfony directory on the command line run:
$ php app/console doctrine:schema:update --dump-sql
Take the SQL that is output and update your database manually.
Warning:
Please take care when updating your database, check the output SQL before applying it.
From your projects root Symfony directory on the command line run:
$ php app/console assets:install --symlink web/
From your projects root Symfony directory on the command line run:
$ php app/console cache:warmup
Change the layout template you wish to use for each page by changing the configs under the labelled section 'layout_templates'.
Installation should now be complete!
If you need further help/support, have suggestions or want to contribute please join the community at Code Consortium