Skip to content

dvillarraga/gsDashmixPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gsDashmixPlugin

The gsDashmixPlugin is a symfony plugin that provides an implementation of Dashmix Theme - https://demo.pixelcave.com/dashmix/

  • Is connected with sfDoctrineGuardPlugin for authentication.
  • It allows you to show Success and Error user messages.
  • It contains a menu implementation which gives you the posibility to assign menus by credential.

Installation

  • Install the plugin (via composer)

    composer require dvillarraga/symfony1-dashmix-plugin
    
  • Activate the plugin in the config/ProjectConfiguration.class.php

    class ProjectConfiguration extends sfProjectConfiguration
    {
      public function setup()
      {
        $this->enablePlugins(array(
          'sfDoctrinePlugin',
          'gsDashmixPlugin',
          '...'
        ));
      }
    }
    • Copy Dashmix sources to web folder, by default is /assets
    $ cp -R ~/Downloads/DashmixTheme/assets ~/Projects/mysfProject/web/
    
    • Copy or use our symfony template to create yours.
    $ cp plugins/gsDashmixPlugin/templates/dashmix_public.php apps/frontend/templates/
    
    • Configure paths and names in app.yml

          all:
            sf_guard_plugin:
                signin_form: gsDashmixFormSignin
            gs_dashmix_plugin:
                url: 'https://sgc.lubrirod.co'
                project_title: 'Sistema de Gestión de Convenios'
                theme_files: '/assets/'
                
                icon_shortcut_icon: '/public/favicon.png'
                icon_icon: '/public/favicon-192x192.png'
                icon_apple_touch_icon: '/public/apple-touch-icon-180x180.png'
                
                login_background_image: '/assets/media/photos/photo20.jpg'
                login_logo: '/public/logo-lubrirod.png'
      
                auth_logo: '/public/logo-auth.png'
      
  • Clear you cache

    symfony cc
    

Help and docs

Please feel free to contact me. You also can tweet @dvillarraga!

About

A way to implement Dashmix Theme on a Symfony 1 Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages