dvillarraga / symfony1-dashmix-plugin
A better way to implement Dashmix Theme on a Symfony Project
Installs: 275
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony1-plugin
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2025-03-29 00:36:44 UTC
README
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!