mpRealityAdminPlugin - 0.9.4

The mpRealityAdminPlugin provides a new admin generator theme with some additions.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

mpRealityAdminPlugin

Overview

The mpRealityAdminPlugin provides a new admin generator theme with some additions.

Installation

Step 1 - Download and install the plugin

symfony plugin:install  mpRealityAdminPlugin --stability=beta

Step 2 - Publish the assets

symfony plugin:publish-assets

Step 3 - Clear the cache

symfony cc

Configuration

Enable the plugin in your project

//config/ProjectConfiguration.class.php
class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    $this->enablePlugins('sfDoctrinePlugin', 'mpRealityAdminPlugin ');
  }
 }

How to use it ?

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

Configuration

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