sfAdminThemejRollerPlugin - 0.1.0

Admin generator theme based on jQuery UI ThemeRoller

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 | Show as Markdown

sfAdminThemejRollerPlugin

The sfAdminThemejRollerPlugin packages a new admin generator theme based on jQuery UI ThemeRoller (http://jqueryui.com/themeroller/).

This plugin allows to change the default admin generator theme to one based on the theme roller from jQuery UI team. It is very convenient to change themes and keep UI consistency all around or even create your own theme.

Installation

*-----------

  • Install the plugin

    $ symfony plugin:install sfAdminThemejRollerPlugin --stability=beta
    
  • Clear the cache

    $ symfony cache:clear
    

How to use it

*------------

Generate an admin generator:

    ./symfony --theme=jroller doctrine:generate-admin

if you already have an admin generator, you can simply change the theme inside your generator.yml

    theme: jroller

Configuration

*------------

You can use your own jQuery/jQueryUI and your own theme (based on ThemeRoller) and configure all this inside your app.yml:

    sf_admin_theme_jroller_plugin:
        web_dir:      /sfAdminThemejRollerPlugin # specify specific folder where to pick your jquery stuff, ui and themes.
        use_jquery:   true # default. use the packaged jquery/UI
        theme:        redmond # default. 
        css_reset:    true # default. reset default css (from Blueprint CSS)

To add icons on your buttons/links you can use those proposed by ThemeRoller and include them in your generator.yml:

    actions:
        _new: { ui-icon: plus }
    object_actions:
        _edit: { ui-icon: pencil }

Note: you only need to use the specific part of each icon, not the all name, e.g. 'ui-icon-plus'.

Links

*---- * library(http://jquery.com/) * UI(http://jqueryui.com/) * UI ThemeRoller(http://jqueryui.com/themeroller/)

TODO

*---

  • fix bugs (no kidding ;-)

  • clean up css Export to CSV http://boedesign.com/2008/07/02/database-csv/ Import CSV to DB http://boedesign.com/2008/02/20/csv-2-php-2-mysql-insert/