Re: [Aikiframework-devel] [Bug 928344] [NEW] Constans should be pulled from database

2012-02-07 Thread rejon
Just keep in the aiki_configs Jon On Wed, Feb 8, 2012 at 12:22 AM, Jakub Jankiewicz <928...@bugs.launchpad.net> wrote: > Public bug reported: > > Constants should be save in database (the reason why is that we will > have one code and that is driven by data) Right now [constans] are in > few plac

Re: [Aikiframework-devel] [Bug 928279] Re: We need API for widgets

2012-02-07 Thread rejon
I completely agree! On Wed, Feb 8, 2012 at 12:29 AM, Jakub Jankiewicz <928...@bugs.launchpad.net> wrote: > ** Changed in: aikiframework >     Assignee: (unassigned) => Jakub Jankiewicz (jcubic) > > ** Description changed: > >  Right now implementation of widget is a mess (there is no separation >

[Aikiframework-devel] [Bug 883772] Re: Users should have a way to create layout for HTTP errors

2012-02-07 Thread Jakub Jankiewicz
I found this bug right now and I fix it already. If Aiki don't find a page it call widgets for url "error_404", so you can use layout that is created with more then one widget. ** Changed in: aikiframework Assignee: Aiki Framework Developers (aikiframework-devel) => Jakub Jankiewicz (jcubic)

[Aikiframework-devel] [Bug 928279] Re: We need API for widgets

2012-02-07 Thread Jakub Jankiewicz
** Changed in: aikiframework Assignee: (unassigned) => Jakub Jankiewicz (jcubic) ** Description changed: Right now implementation of widget is a mess (there is no separation between "parsing" code and widget creation code), it's hard to read and follow. It's a file widget.php but it co

[Aikiframework-devel] [Bug 928344] [NEW] Constans should be pulled from database

2012-02-07 Thread Jakub Jankiewicz
Public bug reported: Constants should be save in database (the reason why is that we will have one code and that is driven by data) Right now [constans] are in few places in the code (2 or 3), there should be one place where contants are expanded and they should be in the table. aiki_constants (i

[Aikiframework-devel] [Bug 928279] [NEW] We need API for widgets

2012-02-07 Thread Jakub Jankiewicz
Public bug reported: Right now implementation of widget is a mess (there is no separation between "parsing" code and widget creation code), it's hard to read and follow. It's a file widget.php but it contain class CreateLayout. There should be class widget that will actually allow users to interac

[Aikiframework-devel] [Bug 928266] [NEW] Forms select from database field should have option to be filtered depend on other fieled

2012-02-07 Thread Jakub Jankiewicz
Public bug reported: Example on pekin site there is add artwork form and it have colections and artists that are pulled from database and user can choice those from form but every artist have they own collections, so when user select artist it should filter collections depend on that artist (selec