![]() |
|
mpRealityAdminPlugin - 0.9.3The mpRealityAdminPlugin provides a new admin generator theme with some additions. |
|
The mpRealityAdminPlugin provides a new admin generator theme with some additions.
symfony plugin:install mpRealityAdminPlugin --stability=beta
symfony plugin:publish-assets
symfony cc
Enable the plugin in your project
//config/ProjectConfiguration.class.php class ProjectConfiguration extends sfProjectConfiguration { public function setup() { $this->enablePlugins('sfDoctrinePlugin', 'mpRealityAdminPlugin '); } }
Generate an admin generator:
symfony doctrine:generate-admin --theme=mpReality application route_or_model
OR if you already have an admin generator, you can simply modifiy the theme inside your generator.yml
generator:
class: mpRealtyAdminDoctrineGenerator
param:
theme: mpReality
clear the cache
symfony cc
1.Show view
MpReality brings a new show context in the generator.yml. You can customize the display :
show:
title: View Job
display: [category_id, type, company, logo, url...]
fields:
company: { label : Compagnie}
work with display and hide key.
2.Save and redirect to list
You can now redirect to any location of your choice once you