--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To post to this group, send email to silverst...@googlegroups.com.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.
This sounds good. Another thing ModelAdmin needs is an option to show
all when it initially loads. Having to do a blank search to show all
is a confusing and unnecessary step in most cases.
To unsubscribe from this group, send email to silverstripe-d...@googlegroups.com.
Right on man. Its a fresh view on the current system, and I could totally see it in the core if it gets stable. I'm happy to help if you need, or throw in on github/google code/etc.Happy coding!
On Fri, Aug 27, 2010 at 3:52 AM, Martijn Van Nieuwenhoven <marv...@gmail.com> wrote:Still working on the PanelModelAdmin. I'm almost there, but it still contains a lot of duplicate code, nasty workarounds and bugs I need to fix.
But the proof of concept is there and most things work like I wanted it to.
See this screenshots for what is possible at the moment.
As soon as the basics work in a nice and solid way, I will post a first version here on the dev group for testing and to see if its usefull for more people.
To be continued!
If you in mean time have some ideas, please let me know.
MartijnOn Tue, Aug 24, 2010 at 6:04 PM, dalesaurus <dale....@gmail.com> wrote:
Man, that looks like some very promising stuff. Would you have the
code up anywhere? I'd be happy to play with it and give some
feedback.
On Aug 23, 11:23 am, Martijn Van Nieuwenhoven <marva...@gmail.com>
wrote:
> A few months ago I created a custom LeftAndMain extension to be able to
> create a more flexible type of ModelAdmin for ie the management of
> newsletters or orders.
>
> Its not yet solid enough for general use, but there were a few reasons why I
> did it:
>
> 1. To have a LeftPane that looks like the CMSMain and AssetAdmin with the
> ability to add custom accordion Panels (search, info, menu's, widgets etc.)
> 2. To have te ability to use TableListField instead of the default
> ComplexTableField, so certain DataObjects can be changed without the need of
> a seperate detailform. This is usefull when you need to add a lot of
> dataobjects with only a few fields (Availability/prices for hotelrooms,
> custom variations for a single product or holiday dates, custom formfields
> for a single product etc.)
> The TableListField has a Default(ComplexTableField) in the
> CustomLeftAndMain but can be overloaded in each DataObject with
> getCustomResultsForm(). In this way it is also posible to show ie a calendar
> which shows all bookings or a Dashboard with sales information.
> 3. To have the ability to add custom formactions and functions like
> sending a newsletter, review an order, send confirmations etc.
> 4. One thing that bothered me with the default leftpane of ModelAdmin is
> that I needed a more userfriendly devision for certain DataObjects and their
> relations, like show the managed objects in a menu style like the CMSMain
> has, but with custom hierarchy. and to put a customized searchform in a
> seperate panel.
> 5. Set defaultModel which will show up on initial load.
>
> At the moment I'm refactoring the PanelLeftAdminMain to a PanelModelAdmin,
> since a lot of code is already there and the form and relationhandling is
> still a better then mine :) (and has better support for DataObjectManager).
>
> Here I have a sideshare with some
> screenshots<http://www.slideshare.net/marvanni/panel-modeladmin>of how
> > > > > To unsubscribe from this group, send email to> > > >silverstripe-d...@googlegroups.com<silverstripe-dev%2Bunsu...@googlegroups.com><silverstripe-dev%2Bunsubscrib>e...@googlegroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/silverstripe-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "SilverStripe Core Development" group.> To post to this group, send email tosilvers...@googlegroups.com.
> > To unsubscribe from this group, send email to>silverstripe-d...@googlegroups.com<silverstripe-dev%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/silverstripe-dev?hl=en.
>
> --
> Met vriendelijke groet,
> Martijn van Nieuwenhoven
>
> <strong>Mediavacature.nl</strong>
>
> Postbus 775
> 2130 AT, Hoofddorp
> KvK Amsterdam 05082935
> T : +31 (0)88-11 22 000
> F : +31 (0)88-11 22 001
> M : +31 (0)6-28 59 68 96
>