dvillarraga/symfony1-dashmix-plugin
Composer 安装命令:
composer require dvillarraga/symfony1-dashmix-plugin
包简介
A better way to implement Dashmix Theme on a Symfony Project
README 文档
README
The gsDashmixPlugin is a symfony plugin that provides an implementation of
Dashmix Theme - https://demo.pixelcave.com/dashmix/
- Is connected with
sfDoctrineGuardPluginfor 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.phpclass 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!
统计信息
- 总下载量: 331
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-07-02