laiguAdminThemePlugin
0.5.5beta
for sf 1.4sf 1.3sf 1.2 and Doctrine
MIT
The laiguAdminThemePlugin package a new admin generator theme based on AJAX requests via ExtJs. You can use laiguAdminThemePlugin to create yours master-detail relations.
This plugin allows to change the default admin generator theme to one based on the ExtJs framework.
This admin generator theme is only targeting the actual element of the admin generator (table, forms...), it does not modify your overall layout.
Features
- Master-detail.
- History manager. Back and forward browser buttons are managed by plugin.
- Change maximum rows per page.
- tinyMCE compatible.
Developers
License
Copyright (c) 2010 Jordi Llonch
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Releases for sf 1.4
| Version |
License |
API |
Released |
|
0.5.7beta
|
MIT |
0.5.5beta
|
01/11/2010 |
|
0.5.6beta
|
MIT |
0.5.5beta
|
26/06/2010 |
|
0.5.5beta
|
MIT |
0.5.5beta
|
19/05/2010 |
|
0.5.4beta
|
MIT |
0.5.4beta
|
10/05/2010 |
|
0.5.3beta
|
MIT |
0.5.3beta
|
09/05/2010 |
|
0.5.2beta
|
MIT |
0.5.2beta
|
09/05/2010 |
|
0.5.1beta
|
MIT |
0.5.1beta
|
06/05/2010 |
|
0.5.0beta
|
MIT |
0.5.0beta
|
01/05/2010 |
|
0.4.2beta
|
MIT |
0.4.0beta
|
04/03/2010 |
|
0.4.1beta
|
MIT |
0.4.0beta
|
04/03/2010 |
|
0.4.0beta
|
MIT |
0.4.0beta
|
03/03/2010 |
|
0.3.1beta
|
MIT |
0.3.1beta
|
20/02/2010 |
|
0.3.0beta
|
MIT |
0.3.0beta
|
20/02/2010 |
|
0.2.1beta
|
MIT |
0.2.0beta
|
18/02/2010 |
|
0.2.0beta
|
MIT |
0.2.0beta
|
18/02/2010 |
|
0.1.0beta
|
MIT |
0.1.0beta
|
13/02/2010 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
0.5.7beta
|
MIT |
0.5.5beta
|
01/11/2010 |
|
0.5.6beta
|
MIT |
0.5.5beta
|
26/06/2010 |
|
0.5.5beta
|
MIT |
0.5.5beta
|
19/05/2010 |
|
0.5.4beta
|
MIT |
0.5.4beta
|
10/05/2010 |
|
0.5.3beta
|
MIT |
0.5.3beta
|
09/05/2010 |
|
0.5.2beta
|
MIT |
0.5.2beta
|
09/05/2010 |
|
0.5.1beta
|
MIT |
0.5.1beta
|
06/05/2010 |
|
0.5.0beta
|
MIT |
0.5.0beta
|
01/05/2010 |
|
0.4.2beta
|
MIT |
0.4.0beta
|
04/03/2010 |
|
0.4.1beta
|
MIT |
0.4.0beta
|
04/03/2010 |
|
0.4.0beta
|
MIT |
0.4.0beta
|
03/03/2010 |
|
0.3.1beta
|
MIT |
0.3.1beta
|
20/02/2010 |
|
0.3.0beta
|
MIT |
0.3.0beta
|
20/02/2010 |
|
0.2.1beta
|
MIT |
0.2.0beta
|
18/02/2010 |
|
0.2.0beta
|
MIT |
0.2.0beta
|
18/02/2010 |
|
0.1.0beta
|
MIT |
0.1.0beta
|
13/02/2010 |
Releases for sf 1.2
| Version |
License |
API |
Released |
|
0.5.7beta
|
MIT |
0.5.5beta
|
01/11/2010 |
|
0.5.6beta
|
MIT |
0.5.5beta
|
26/06/2010 |
|
0.5.5beta
|
MIT |
0.5.5beta
|
19/05/2010 |
|
0.5.4beta
|
MIT |
0.5.4beta
|
10/05/2010 |
|
0.5.3beta
|
MIT |
0.5.3beta
|
09/05/2010 |
|
0.5.2beta
|
MIT |
0.5.2beta
|
09/05/2010 |
|
0.5.1beta
|
MIT |
0.5.1beta
|
06/05/2010 |
|
0.5.0beta
|
MIT |
0.5.0beta
|
01/05/2010 |
|
0.4.2beta
|
MIT |
0.4.0beta
|
04/03/2010 |
|
0.4.1beta
|
MIT |
0.4.0beta
|
04/03/2010 |
|
0.4.0beta
|
MIT |
0.4.0beta
|
03/03/2010 |
|
0.3.1beta
|
MIT |
0.3.1beta
|
20/02/2010 |
|
0.3.0beta
|
MIT |
0.3.0beta
|
20/02/2010 |
|
0.2.1beta
|
MIT |
0.2.0beta
|
18/02/2010 |
|
0.2.0beta
|
MIT |
0.2.0beta
|
18/02/2010 |
|
0.1.0beta
|
MIT |
0.1.0beta
|
13/02/2010 |
Changelog for release 0.5.5 - 19/05/2010
master id lost when order by column and pagination on detail div
Other releases
Release 0.5.7 - 01/11/2010
bug on ie (thanks to Oscar Arroyo)
Release 0.5.6 - 26/06/2010
bug on detail link, not pass master xget variable (thanks to Rodrigo Ayala to report this bug)
Release 0.5.5 - 19/05/2010
master id lost when order by column and pagination on detail div
Release 0.5.4 - 10/05/2010
Release 0.5.3 - 09/05/2010
bug on batch process if index list is a detail from master
Release 0.5.2 - 09/05/2010
Release 0.5.1 - 06/05/2010
Added change max rows per page.
Release 0.5.0 - 01/05/2010
Admin generator theme based on AJAX requests via ExtJs. You can create master-detail relations.
Release 0.4.2 - 04/03/2010
Admin generator theme based on AJAX requests via ExtJs. You can create master-detail relations.
Release 0.4.1 - 04/03/2010
Admin generator theme based on AJAX requests via ExtJs. You can create master-detail relations.
Release 0.4.0 - 03/03/2010
disable layout if is an ajax request
bug on batch action on sf 1.2
bug on check all when are multiple details
error message fired if an error HTTP status was returned from the server
Release 0.3.1 - 20/02/2010
Not available
Release 0.3.0 - 20/02/2010
bug on field links and filters (IMPORTANT: change in your generator.yml "class: sfDoctrineGenerator" for "class: laiguDoctrineGenerator"
Release 0.2.1 - 18/02/2010
Release 0.2.0 - 18/02/2010
bug with input submit with names
Release 0.1.0 - 13/02/2010
laiguAdminTheme plugin
Overview
The laiguAdminThemePlugin package a new admin generator theme based on AJAX requests via ExtJs. You can use laiguAdminThemePlugin to create yours master-detail relations.
This plugin allows to change the default admin generator theme to one based on the ExtJs framework.
This admin generator theme is only targeting the actual element of the admin generator (table, forms...), it does not modify your overall layout.
Features
- Master-detail.
- History manager. Back and forward browser buttons are managed by plugin.
- Change maximum rows per page.
- tinyMCE compatible
Demo
Visit our site and live demo here.
You can download live demo source in our site.
Screenshot

Installation
Download and install the plugin
./symfony plugin:install laiguAdminThemePlugin --stability=beta
Clear the cache
./symfony cc
Publish the plugin's assets:
./symfony plugin:publish-assets
Configuration
Enable the plugin laiguAdminThemePlugin on a project, via /config/ProjectConfiguration.class.php:
class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
$this->enablePlugins('sfDoctrinePlugin', 'laiguAdminThemePlugin');
}
}
Download and install Ext JS
- Download Ext JS
- Uncompress on js directory (ex: <my_project>/web/js/extjs/)
ExtJs related configuration (optional)
You should change your ExtJs web dir inside your app.yml:
all:
laigu_admin_theme_plugin:
web_dir_extjs: /js/extjs # specify your folder where to pick ExtJs.
How to use it
That's it!.
Extra features configuration
This plugin add as well some new features that you can configure in your generator.yml. Currently available:
- Master-detail: a parameter to link 1-n relations.
- Filter collapsed: view filters collapsed in the list view
Master-detail parameter
edit:
detail:
town: # detail name
module: town # module name to link (you must created module previously using laiguAdminTheme, is not necessary to configure anymore)
params: { state_id: getId } # parameters pass to detail module (first, detail parameter name; after, parent object method) (NOTE: MAY BE CHANGE IN THE FUTURE)
Filter collapsed parameter
filter:
params: { collapsed: true }
Contact
- Jordi Llonch ( jordi [at] laigu [dot] net ), [http://www.laigu.net]
- Magà Carbonell ( mcarbonell [at] laigu [dot] net ), [http://www.laigu.net]
Changelog
- version 0.5.5:
master id lost when order by column and pagination on detail div
- version 0.5.4:
bug on pagination
- version 0.5.3:
bug on batch process if index list is a detail from master
- version 0.5.2:
tinyMCE compatible
- version 0.5.1:
added change max rows per page
- version 0.5.0:
history manager (back/forward browser button are managed by plugin)
- version 0.4.0:
disable layout if is an ajax request
bug on batch action on sf 1.2
bug on check all when are multiple details
error message fired if an error HTTP status was returned from the server
- version 0.3.0: bug on field links and filters (IMPORTANT: change in your generator.yml "class: sfDoctrineGenerator" for "class: laiguDoctrineGenerator"
- version 0.2.2: created new method to redirect using ajax
- version 0.2.1: bug on package.xml
- version 0.2.0: bug on input submit with names
- version 0.1.0: initial release
TODO
- add new features integrating ExtJs widgets