Sorting Very Long Property Lists Options
VirtualRichard
Posted: Thursday, March 27, 2008 12:11:58 PM

Rank: Aficionado

Joined: 9/17/2007
Posts: 106
System in use was XP Pro (fully up to date) with Internet Explorer 7.0 (latest version).

Do the following:

Create a new Document Type.

Add a new property.
Add another one.
And another.

In fact, keep adding properties until the list of properties extends beyond your visible screen.

Once you have this, click and drag a property to place it above another.

You won't be able to. At best the property you selected will fly off the screen upwards and put itself at the top of the property list!

I can't really describe what happens any better. You'll have to follow the steps above to replicate the issue.

I'd like that fixed please :)

Richard


2 * 3 * 3 * 37 : The prime factorisation of The Beast.
drobar
Posted: Thursday, March 27, 2008 1:41:38 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,066
Location: KY, USA
Nice bug, Richard!

Can you please enter it into http://www.codeplex.com/umbraco?

thanks,
doug.

MVP 2007/2008 - Official Umbraco Trainer for North America - Percipient Studios
Dekker500
Posted: Thursday, March 27, 2008 4:17:00 PM
Rank: Newbie

Joined: 2/20/2008
Posts: 16
Location: Canada
Just to add, it's not much better with Firefox 2.0.

As a workaround, if you use tabs, keep the number of items in each tab less than a screenfull.

That way, put the top item of your tab at the top of the screen, and you can drag the desired item around, but you may have to drag it WAY WAY WAY down the screen before you see the tabs "make room" for it at the top of your screen. Let go of the item when the "space" is where you wanted it.

Yes, I realize that explanation is difficult to grasp. It's because the bug is a weird UI error.

Dekker
www.WoodworkDetails.com
IO
Posted: Thursday, March 27, 2008 6:33:14 PM
Rank: Newbie

Joined: 3/27/2008
Posts: 1
Location: PL
I had the same problem so this is my quick'n dirty solution:

find string
var pY = Event.pointerY(event)
in \umbraco\js\dragdrop.js

ad replace it with

var pY = Event.pointerY(event)+ document.getElementById('ContentTypeControlNew1_TabView1_tab03layer_contentlayer').scrollTop;

It works for me.
VirtualRichard
Posted: Thursday, March 27, 2008 6:56:37 PM

Rank: Aficionado

Joined: 9/17/2007
Posts: 106
drobar wrote:
Nice bug, Richard!

Can you please enter it into http://www.codeplex.com/umbraco?

thanks,
doug.


Done.

I've taken note of IO's fix for now. Thanks.

Richard

2 * 3 * 3 * 37 : The prime factorisation of The Beast.
tkahn
Posted: Wednesday, April 16, 2008 4:07:46 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 252
Location: Stockholm, Sweden
The bugfix doesn't work for me. Perhaps it's a cache thing?

Until this bug gets fixed, is there a way to alter the order manually, for example by manipulating the database? I REALLY need to change the order of some of my properties since my client is confused by the strange order of the properties.

This bug makes it impossible to work iterativelly, adding properties one by one, and in my opinion it should be resolved as soon as possible.

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
dawoe
Posted: Wednesday, April 16, 2008 4:34:06 PM

Rank: Aficionado

Joined: 1/19/2008
Posts: 124
Location: Belgium
tkahn wrote:
The bugfix doesn't work for me. Perhaps it's a cache thing?

Until this bug gets fixed, is there a way to alter the order manually, for example by manipulating the database? I REALLY need to change the order of some of my properties since my client is confused by the strange order of the properties.

This bug makes it impossible to work iterativelly, adding properties one by one, and in my opinion it should be resolved as soon as possible.


Here is a query for getting all the properties from a contenttype :

Code:

SELECT     id, dataTypeId, contentTypeId, tabId, Alias, Name, helpText, sortOrder, mandatory, validationRegExp, Description
FROM         cmsPropertyType
WHERE     (contentTypeId = 1131)


And this is to get the tabs :
Code:

SELECT     id, contenttypeNodeId, text, sortorder
FROM         cmsTab
WHERE     (contenttypeNodeId = 1131)


I hope this will get you started

Converting a DotNetNuke site to Umbraco : Follow it here
tkahn
Posted: Monday, April 21, 2008 4:22:29 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 252
Location: Stockholm, Sweden
Aha! Now I see! The forum breaks the line and therefore I didn't get all of the code (all the way to the ; at the end) and therefore it didn't work for me. Now it seems to work fine!

Thanks!

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
paul.symes
Posted: Tuesday, April 22, 2008 6:41:54 PM
Rank: Newbie

Joined: 3/17/2008
Posts: 9
@IO the sorting not working has been bugging me for ages - thanks for the fix!
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.