08
Sep
Posted by gestadieu as OSS & Tech, Symfony
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.
3 Responses
Dimitar Vouldjeff
September 14th, 2009 at 2:33 pm
1Can you give link to the github page, please? Because I cannot find it.
Adrian Estrada
September 17th, 2009 at 4:41 am
2Hey 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
gestadieu
September 17th, 2009 at 8:14 am
3@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.
RSS feed for comments on this post · TrackBack URI
Leave a reply
me twittin
Categories
Photos on flickr
Upcoming Events
Calendar feeds
About
Friends