new version of sfAdminThemejRollerPlugin (v 0.1.4)

I have finally released a new version of this plugin with an unpronounceable name ;-) Here is the list of change:

  • I add a new field named ‘show’ for the admin generator. I guess the meaning of this new option is quite obvious, isn’t it? It add the possibility to simply view one object details without editing it. It currently shows the list of fields like it is for the ‘edit’ view, meaning with a tab interface.
  • I also create a new class jRollerDoctrineGenerator to replace sfDoctrineGenerator if you want the default link (the one you create with the = sign before the field name in the generator.yml) to link to the ‘show’ view rather than by default going to the ‘edit’ view. So far this is the only added value of this class. Of course if you prefer to keep the link to the ‘edit’ view simply keep the default class sfDoctrineGenerator. To use it, you simply need to modify your generator.yml as followed:
generator:
  class:     jRollerDoctrineGenerator
  params:
    theme:   jroller
....

The source code is available on github for the moment (http://github.com/gestadieu/sfAdminThemejRollerPlugin/tree/master), I want to finalize a few things before packaging a new plugin version. I also need to put the source code on svn.

jroller-list-showbutton.png

3 thoughts on “new version of sfAdminThemejRollerPlugin (v 0.1.4)

  1. Adrian Estrada

    Hey man

    your plugin rocks, is amazing, I am just starting with symfony and I hope to get experienced and maybe later to contribute to your project … so far I am using it on my fist project.

    I need to ask you something… my culture application is es (spanish), so some buttons are being translated (new, edit, delete) but others are not (filters, is empty, actions) so I am guess I have to do it directly on you plugin templates, could you please explain how to do that??

    regards and thanks in advance

  2. gestadieu Post author

    @Dimitar: I added the link in my post.

    @Adrian: thanks! For the culture I will check again but I believe all my extra text are I18N enabled but they are not part of the default symfony text therefore you have to add them in your xliff file for sf_admin.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>