Skip to content

netstyler/galleria-factory

Repository files navigation

=============== GalleriaFactory

Galleria is a CakePHP plugin which provides an additional factory for the Cake Toolkit (CTK), adding configurable objects for the galleria.io javascript gallery. THis allows to build with objects a picture gallery based on the available functionality of galleria.io

Requirements

Installation

To use the plugin simply include it in your application's "app/Plugin" directory, and load it in the "app/Config/bootstrap.php" file.

CakePlugin::load('GalleriaFactory');

The above code is not required if you're already using CakePlugin::loadAll() to load all plugins.

Implementation

Once the plugin is available it's ready to use in your CTK Views, or with the Factory helper included with the Cake Toolkit. To include the Galleria factory in a View just add the factory to your $factories collection, for example:

public $factories = array('GalleriaFactory.Galleria');

With the factory now available you can call it in your View, and build your gallery using the galleria js plugin via an object-oriented interface.

Support

For support, bugs and feature requests, please use the issues section of this repository.

Licence

Copyright 2013 Falk Romano (World-Architects / CakeStyler). All rights reserved.

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

Acknowledgements

Thanks to James Watts and everyone who has contributed to CakePHP, helping make this framework what it is today.

About

GalleriaFactory for the Ctk-Toolkit Plugin - CakePHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published