kaurava/parallax-bundle

This package is abandoned and no longer maintained. The author suggests using the sakyastelios/parallax-bundle package instead.

Bundle for Parallax Effect

Installs: 177

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Open Issues: 0

Language:HTML

Type:symfony-bundle

0.1.3 2015-05-21 00:25 UTC

This package is not auto-updated.

Last update: 2015-11-04 17:47:46 UTC


README

SensioLabsInsight Scrutinizer Code Quality Packagist Downloads Packagist Version

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer "kaurava/parallax-bundle": "dev-master"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding the following lines in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Kaurava\ParallaxBundle\ParallaxBundle(),
            new Oneup\UploaderBundle\OneupUploaderBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Configure the bundle

Add the following lines to your config.yml file

# app/config/config.yml

oneup_uploader:
    mappings:
        gallery:
            frontend: dropzone # or any uploader you use in the frontend

To enable the dynamic routes, add the following to your routing configuration file.

#  app/config/routing.yml
parallax:
    resource: "@ParallaxBundle/Resources/config/routing.yml"
    prefix:   /parallax

oneup_uploader:
    resource: .
    type: uploader

Update yout database schema with

php app/console doctrine:schema:update --force

Then go to the /parallax route of your main route proyect