phlexible / focal-point-bundle
phlexible focal point bundle
Installs: 172
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
README
The PhlexibleFocalPointBundle adds support for country-based content support in phlexible.
Installation
- Download PhlexibleFocalPointBundle using composer
- Enable the Bundle
- Import PhlexibleFocalPointBundle routing
- Clear the symfony cache
Step 1: Download PhlexibleFocalPointBundle using composer
Add PhlexibleFocalPointBundle by running the command:
$ php composer.phar require phlexible/focal-point-bundle "~1.0.0"
Composer will install the bundle to your project's vendor/phlexible
directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Phlexible\Bundle\FocalPointBundle\PhlexibleFocalPointBundle(), ); }
Step 3: Import PhlexibleFocalPointBundle routing
Import the PhlexibleFocalPointBundle routing.
# app/config/admin_routing.yml phlexible_focalpoint: resource: "@PhlexibleFocalPointBundle/Controller/" type: annotation
Step 4: Clear the symfony cache
If you access your phlexible application with environment prod, clear the cache:
$ php app/console cache:clear --env=prod