2017 © Pedro Peláez
 

symfony-bundle al-valum-uploader-bundle

AlValumUploaderBundle adds upload capabilities to any symfony project. This bundle encapsulates the valum uploader javascript tool

image

alphalemon/al-valum-uploader-bundle

AlValumUploaderBundle adds upload capabilities to any symfony project. This bundle encapsulates the valum uploader javascript tool

  • Saturday, September 8, 2012
  • by alphalemon
  • Repository
  • 1 Watchers
  • 2 Stars
  • 451 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

AlValumUploadeBundle

The AlValumUploadeBundle encapsulates the ajax valum uploader javascript to manage the files uploading through a simple ajax interface., (*1)

Get the AlValumUploadeBundle

Clone this bundle in the vendor/bundles/AlphaLemon directory:, (*2)

git clone git://github.com/alphalemon/AlValumUploaderBundle.git vendor/bundles/AlphaLemon/AlValumUploaderBundle

Configure the AlValumUploadeBundle

Open the AppKernel configuration file and add the bundle to the registerBundles() method, for the dev namespace:, (*3)

public function registerBundles()
{
    $bundles = array(
        ...
        if (in_array($this->getEnvironment(), array('dev', 'test'))) {

            $bundles[] = new AlphaLemon\AlValumUploaderBundle\AlValumUploaderBundle();
        }
    )
}

Register the AlValumUploaderBundle namespaces in app/autoload.php:, (*4)

$loader->registerNamespaces(array(
    ...
    'AlphaLemon'                     => __DIR__.'/../vendor/bundles',
));

Configure the assets compressor

The uploader requires the yuicompressor.jar to be installed, so download it, open the config.yml and configure it as follows:, (*5)

assetic:
    ...
    filters:
        ...
        yui_js:
            jar: %kernel.root_dir%/Resources/java/yuicompressor.jar
        yui_css:
             jar: %kernel.root_dir%/Resources/java/yuicompressor.jar

Install the assets as follows:, (*6)

app/console assets:install web --symlink

Using the uploader

This part is under construction. Please see the ThemeEngineBundle ThemesController's showAction method for a working example, (*7)

Info and help

To get extra information or help you may write an email to info [at] alphalemon [DoT] com, (*8)

The Versions

28/01 2012

1.0.0

1.0.0.0 http://alphalemon.com

AlValumUploaderBundle adds upload capabilities to any symfony project. This bundle encapsulates the valum uploader javascript tool

  Sources   Download

MIT

The Requires

 

by Avatar alphalemon

javascript upload cms