Appartamento in Affitto Milano – Washington

What plugin do you want in bundle?

Added by Davide D'Agostino 276 days ago

Please tell us what plugin/s do you want to see in the next version of Lipsiadmin?


Replies

RE: What plugin do you want in bundle? - Added by Prem Kumar 275 days ago

I want fckeditor in the next release.Any editor will work fine as long as it consists of some advance features like superscript,subscript etc...

RE: What plugin do you want in bundle? - Added by Prem Kumar 275 days ago

If you introduce horizonatal scroll bar in the main content <div> area and vertical scroll bar in the sidebar it'll be great...

RE: What plugin do you want in bundle? - Added by Zeke Rondel 266 days ago

It would be great that were included the RUR plugin [1], to implement multi-level undo redo.

[1] //blog.nanorails.com/rails-undo-redo">http://blog.nanorails.com/rails-undo-redo

RE: What plugin do you want in bundle? - Added by Philippe Van Nuys 259 days ago

The following plug-in would be useful for handling large datasets, where a simple Model.find(:all) is not recommended and would take too much time.

Plug-in: will_paginate
URL: http://rock.errtheblog.com/will_paginate

You can make the following changes in your code to use this plugin:

E.g. I have a model named User.

Inside your Controller for action list change the following:

@ format.json do
start = (params[:start] || 1).to_i
size = (params[:limit] || 100).to_i
sort_col = (params[:sort] || 'id')
sort_dir = (params[:dir] || 'ASC')
sort = sort_col + ' ' + sort_dir
page = ((start/size).to_i)+1

@users = User.paginate :page => page, :order => sort, :per_page => size
return_data = Hash.new()      
return_data[:Total] = User.count
return_data[:users] = users.collect{|u| { :id => u.id, <br /> :email => u.email } } <br /> render :json => return_data, :layout => false<br /> end

And inside you view change and add the following:

@var ds = new Ext.data.Store({
reader: new Ext.data.JsonReader({root: 'users', id: 'id', totalProperty: 'Total'}, users),
proxy: new Ext.data.HttpProxy({url: '<%= formatted_list_backend_users_path(:json) %>'}),
remoteSort: true
});
ds.setDefaultSort('created_at', 'desc')
...
ds.load(*{params:{start:0, limit:100}}*);@

RE: What plugin do you want in bundle? - Added by Philippe Van Nuys 259 days ago

The formatting got a little messed up, the last line should be:

ds.load({params:{start:0, limit:100}})

RE: What plugin do you want in bundle? - Added by Davide D'Agostino 259 days ago

Thanks so much, I the next relase I will do them.

Please provide use other feedback or request we are happy to realize

Associations?! - Added by Gabrio gabs 254 days ago

Any plans to implement association? And inplace editing?
Like the example here:
http://extjs.com/deploy/dev/examples/grid/edit-grid.html

RE: What plugin do you want in bundle? - Added by Davide D'Agostino 254 days ago

Thanks Gabrio for your great support

we are planning to add this fatures in the relase 1.0, but at this point I think we can make lipsiadmin totally ajax, we are studying the some problems like image upload.

Then the inline editing is good for string, boolean, but also for "belongs_to" ? And for user that won't that?

This fatures require a good work, I just use it in some ecommerce, and yes are beautifull but only in some cases... I think

RE: What plugin do you want in bundle? - Added by Gabrio gabs 254 days ago

Thats true, in place editing is a "nice to have" feature.
Associations is much more important, all I need is to show the name of the associated item instead of the id.

I'm trying to implement it myself - but I'm just not familiar enough with ext_js.
I have the nested json data in the result, like so:

{"articles": [{"policy": "", "owner": {"name": "Davide", "updated_at": "2008/02

/22 12:41:17 +0100", "id": 1, "created_at": "2008/02/22 12:38:11 +0100"}, "description": "author", "created_at"

: "2008/03/10 13:48:00 +0100", "base_price": null, "name": "lipsiadmin", "qty": 1, "booked_from"

: "2008/03/10 13:48:00 +0100", "updated_at": "2008/03/10 13:48:21 +0100", "booked_to": "2008/03/10 13

:48:00 +0100", "id": 63, "is_a_set": false}] "Total": 50}

But I just can't seem to assign the value of owner.name to the dataIndex in the grid..

Mabe the Ext.grid.GridPanel doesn't support multidimensional datastores?

RE: What plugin do you want in bundle? - Added by Davide D'Agostino 254 days ago

Is a little difficult, now I will post you some example code.

I will make a wiki page

RE: What plugin do you want in bundle? - Added by Gabrio gabs 254 days ago

I would very much appreciate it!

Grazie mille!

RE: What plugin do you want in bundle? - Added by Davide D'Agostino 254 days ago

Hey Gabrio,

I think this can help you: Tutorials

RE: What plugin do you want in bundle? - Added by Gabrio gabs 254 days ago

Excellent!

I'll get started on it right now!

Ti sono molto grato!

RE: What plugin do you want in bundle? - Added by Davide D'Agostino 252 days ago

Gabrio,

if there is some thing wrong be free to edit the wiki

RE: What plugin do you want in bundle? - Added by Gabrio gabs 252 days ago

aight, I have most of the in-place editing done, a small problem with the image part in controllers.
I'm still working on associations.. but I'll post in my findings when I'm done.

.g

RE: What plugin do you want in bundle? - Added by Davide D'Agostino 239 days ago

Pagination is in the new relase of Lipsiadmin,

for more see http://rails.lipsiasoft.com/news/show/5

RE: What plugin do you want in bundle? - Added by DC DC 5 days ago

I think the best answer is:
Look at http://agilewebdevelopment.com/plugins/top_rated
Choose 5/5 stars plugins such as authlogic, searchlogin, act_as_wizard etc.

I believe these plugins are very useful for most sites and are very popular!!!