apostropheGalleryViewerPlugin - 1.0.0

apostropheGalleryViewerPlugin

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Dependencies Releases Changelog Contribute
Show source

#apostropheGalleryViewerPlugin v1.0.0

This plugin offers the possibility to include a gallery viewer in your apostrophe website in 5 minutes ! You must have been installed the sfMultipleAjaxUploadGalleryPlugin before

  • Requirements
  1. sfMultipleAjaxUploadGalleryPlugin
  2. sfJqueryReloadedPlugin
  • Tutorial :
  1. you can follow the instructions below
  2. you can follow the instructions in the plugin page

Installation:

In order to install the plugin apostropheGalleryViewerPlugin : Type one of these symfony commands :

    plugin:install apostropheGalleryViewerPlugin

OR

Download the file here

Then extract its content in the plugins directory of your project :

    plugin:install apostropheGalleryViewerPlugin

Get the plugin's resources by typing :

    symfony publish-assets

Then clear the cache :

    symfony cc

A last task to do is to enable the gallery and photos modules (backend) and the slideshow module (frontend) in the settings.yml specific app config's folder. /apps/backend/settings.yml You have to enter if it doesn't already exist this line

all:  
  .settings:
    enabled_modules: [smaugvSlot]

/apps/frontend/settings.yml On va dans le fichier de configuration app.yml ou sont définis les autres configurations et on ajoute ceci :

all:
  a:
    slot_types:
      smaugv: Galleries Component

Now, add the slot in the templates you want to be able to include inside. For example : /apps/frontend/templates/homeTemplate

a_area("body",array("allowed_types" => array("contact")));

You can now insert this kind of slot. Remember that you're using the sfMultipleAjaxUploadGalleryPlugin so, you have to configure it before.

alt text alt text alt text

CREDITS :

SPECIAL THANKS TO THE APOSTROPHE AND THE PLUGIN COMMUNITY