thunderwolf/tw-admin-plugin

This package is abandoned and no longer maintained. No replacement package was suggested.

symfony 1.x Admin Template plugin

Installs: 122

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:HTML

Type:symfony1-plugin

1.1.6 2015-02-16 21:56 UTC

This package is not auto-updated.

Last update: 2022-02-16 23:40:27 UTC


README

# twAdminPlugin based on sfAdminDashPlugin

##Overview

I had to create nice backend for my Thunderwolf Project and here is result. 

This plugin is based on __sfAdminDashPlugin__ created by __Kevin Bond__. Like him I had to create a menu to access all the various modules.  

This plugin automates the process by using a configuration files.

###Optional Requirements:

[twCorePlugin](http://www.symfony-project.org/plugins/twCorePlugin)
Base plugin for all Thunderwolf Plugins

[twAdminGuardPlugin](http://www.symfony-project.org/plugins/twAdminGuardPlugin)
The Best plugin for authentication

##Installation

Install plugin:

	symfony plugin:install twAdminPlugin
	symfony cache:clear

Create backend or admin app if not exists:

	symfony generate:app backend

Publish the plugin's assets:

	plugin:publish-assets

If the modules are admin generator modules, change the default admin generator theme in each module's *generator.yml* to the **twadmin** Theme

	    theme:                 twadmin

This plugin default *app.yml* file looks like the following:

	all:
	  ckeditor:
	    basePath:         '/twAdminPlugin/ckeditor/'

	  tw_admin:
	    web_dir:                      /twAdminPlugin
	    image_dir:                    /twAdminPlugin/images/
	    
	    site:                         My Site
	    site_start_year:              2012
	    
	    include_path:                 true
	    include_jquery_no_conflict:   false
	    
	    default_module:               homepage
	    default_category:             index
	    default_subcategory:          false
	    
	    #login:                        false
	    #logout:                       true
	    
	    #login_route:                  '@homepage'
	    #logout_route:                 '@homepage'
	    
	    menu:
	      homepage:
	        categories: 
	          index:
	            label: Informations
	            url:   '@homepage'

For example **twAdminGuardPlugin** default *app.yml* file looks like the following:


	all:
	  tw_admin:
	    login:                        false
	    logout:                       true
	    
	    login_route:                  '@tw_guard_signin'
	    logout_route:                 '@tw_guard_signout'
	    
	    module:
	      usersadmin:
	        label: Użytkownicy
	        url:   '@tw_guard_user'
	        credentials: [superadmin]

	    menu:
	      usersadmin:
	        categories:
	          users:
	            label: Użytkownicy
	            url:   '@tw_guard_user'
	            credentials: [admin]
	          permissions:
	            label: Uprawnienia
	            url:   '@tw_guard_permission'
	            credentials: [superadmin]
	          groups:
	            label: Grupy Uprawnień
	            url:   '@tw_guard_group'
	            credentials: [superadmin]
	    


----

This plugin is based on [Bootstrap, from Twitter](http://twitter.github.com/bootstrap/) 

Custom navbar collors:
Darker: #dceaf8
Dark: #f5f9fd

Included CKEditor version: 3.6.4

This plugin have some additional graphics and HTML design is sponsored by [ARUKOMP](http://www.arukomp.pl) company. 

All this additional graphics are licensed under a [Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0)

![Creative Commons License](http://i.creativecommons.org/l/by/3.0/88x31.png)