Forums / Suggestions / Ordering custom class attributes

Ordering custom class attributes

Author Message

Marcin Kondera

Thursday 16 February 2006 1:45:46 am

I want to make a suggestion about ordering class attributes.

I work on a project, which use very large custom class objects (two of them use about 50 attributes). I have to make changes in those classes, add some attributes and reorder them. I use default backend templates for creating objects - so I must keep order in attributes list - it is more productive for editor-users .

So my suggestion is to change "arrow" ordering for priority ordering in class attributes. Using teks fields with "numbered" order is more effective.

Patrick Kaiser

Thursday 16 February 2006 3:01:06 am

Completly agree!
Even if class attributes are not changed so often, its just very annoying if you have to move an attribute up 10 positions and wait for the page to reload every time.

best regards,

patrick


Best regards,

Patrick

Ɓukasz Serwatka

Thursday 16 February 2006 3:46:24 am

Hi,

Take a look on this discussion:

http://lists.ez.no/pipermail/sdk-public/2005-July/001461.html

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Marcin Kondera

Thursday 16 February 2006 5:07:09 am

Hi Lukasz
I saw this, and I use it on my own project. But I find it very unsatisfaction to change disribution files of ezPublish. And now, when I build website for my company I cant do that, cuz I cant take any risk of future upgrade errors.

Daniele Nocentini

Friday 03 March 2006 12:51:37 pm

it would be interesting to integrated a ordering management like this:

http://demo.script.aculo.us/ajax/sortable_elements

Antica Bottega Digitale srl
http://www.abd.it

Matthew Carroll

Thursday 13 April 2006 9:27:49 am

I've been thinking about a similar extension and came across this link of interest, Yahoo! BSD-licenced drag and drop libraries:

http://developer.yahoo.com/yui/dragdrop

This would make a 'must have' extension like the ajax tree menu, and save hours of click, wait, click, wait... integrating this into ezpublish would be beyond me at the moment without a lot of learning, but it's certainly begging to be done and I would certainly try to help if a team wanted to work on developing this extension!

Matthew

http://carroll.org.uk

Xavier Dutoit

Thursday 13 April 2006 10:18:37 am

Hi,

Kristof has xajaified a few ez publish features. The class edit is one of them and if I remember properly his latest version improves the ordering thing.

Haven't tested the latest version, but it already helped a lot not to wait when you add an attribute.

X+

http://www.sydesy.com

Kristof Coomans

Thursday 13 April 2006 11:14:59 pm

It doesn't do drag & drop, but it's already a great improvement for editing classes:
http://ez.no/community/contribs/hacks/xajax_classattributes

I recommend to get the latest version from SVN because it contains some usability improvements and code cleanup.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org