Sort not working Options
roual
Posted: Tuesday, May 06, 2008 12:49:24 PM
Rank: Enthusiast

Joined: 2/5/2008
Posts: 39
Got a strange one here.

I've recently started a new project using version 3.0.5 of the code, and I've found that I can't change the sort order of nodes through the CMS.

I've tried in IE6 & 7, and FireFox (just to rule out cross browser compatibility problems), but nothing. All I'm getting is the sort order box popping up but populated with no nodes.

before anyone suggests it, I've made sure I'm right clicking on the right node :)

I have an old project that's been released and is currently live running version 3.0.3 and sorting works fine.

Can anyone shed any light?

www.punkyduck.com
The iron heals, mends, fortifies, toughens, vitalizes, enables, engages, entertains, fulfills, instructs, humbles and makes a good door stop...
Dave Draper
bruceb
Posted: Tuesday, May 06, 2008 1:46:32 PM
Rank: Devotee

Joined: 9/7/2007
Posts: 32
Do you have any long file names? The default sort functionality does not handle long files names so a small modification to the /umbraco/sort.aspx is required:

Line 62-68: Width changed from 240 to 310 and autoSizeColumns from true to false

var colModel = new Ext.grid.ColumnModel([
{header: "Name", width: 310, sortable: true, dataIndex: 'Name'},
{header: "Sort Order", width: 120, sortable: true, dataIndex: 'Sort Order'},
{header: "Create Date", width: 120, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'Create Date'}
]);

var grid = new Ext.grid.Grid('grid-example', {ds: ds, cm: colModel, autoSizeColumns: false,
roual
Posted: Tuesday, May 06, 2008 5:45:55 PM
Rank: Enthusiast

Joined: 2/5/2008
Posts: 39
Cheers bruceb, unforunately it didn't work, I'm still getting the problem.

File names aren't particularly long anyway, the longest is about 10 characters.

Cheers anyway :)

www.punkyduck.com
The iron heals, mends, fortifies, toughens, vitalizes, enables, engages, entertains, fulfills, instructs, humbles and makes a good door stop...
Dave Draper
kalpa
Posted: Tuesday, May 06, 2008 7:12:06 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 395
Location: Göteborg, Sweden
Are you certain that you don't have an old browser cache of the control? This could be the case if you have used localhost for another site earlier...

...or to put in short; - Have you emptied your browser cache?
// ;) Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
roual
Posted: Wednesday, May 07, 2008 9:58:15 AM
Rank: Enthusiast

Joined: 2/5/2008
Posts: 39
kalpa wrote:
Are you certain that you don't have an old browser cache of the control? This could be the case if you have used localhost for another site earlier...

...or to put in short; - Have you emptied your browser cache?
// ;) Kalle


I have now :)

Still no joy though.

I'm starting to think it's something to do with the way I installed it (I didn't strictly follow the instructions as I was doing 3 things at once).

If I get desperate, I'll try re-downloading the files and copying them over the top, see if that solves the problem (well, copy over the top of the files I haven't changed).

I'm still open to suggestions though...

www.punkyduck.com
The iron heals, mends, fortifies, toughens, vitalizes, enables, engages, entertains, fulfills, instructs, humbles and makes a good door stop...
Dave Draper
drobar
Posted: Wednesday, May 07, 2008 3:09:59 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,285
Location: KY, USA
Remember in the old days whenever anything went wrong on your (windows) computer you'd just reboot it and that solved even the most mysterious problems? (No, I'm not about to suggest that umbraco is buggy)

I've come to find that file permission problems create the weirdest problems that you'd never guess had anything to do with permissions. I'd recommend you double- and triple-check your file permissions. If you're not worried about the potential security issue, just give full control to the NETWORK SERVICE user (or whichever user is assigned to your site's application pool).

That might just solve it. If not, you've not wasted more than a few minutes.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
roual
Posted: Wednesday, May 07, 2008 6:03:20 PM
Rank: Enthusiast

Joined: 2/5/2008
Posts: 39
Why is it whenever anyone mentions permissions I get this slightly sick feeling in my stomach?

Cheers Doug, I'll have a look through them later and make sure they're all what they're suppose to be.

Permissions, then bane of my life.

www.punkyduck.com
The iron heals, mends, fortifies, toughens, vitalizes, enables, engages, entertains, fulfills, instructs, humbles and makes a good door stop...
Dave Draper
Fantask
Posted: Wednesday, June 18, 2008 8:45:32 AM
Rank: Newbie

Joined: 6/18/2008
Posts: 1
Location: Annisse
Did anyone find a solution? I have the same problem and feel kind of stuck...
Simm
Posted: Wednesday, June 18, 2008 9:16:20 AM

Rank: Fanatic

Joined: 7/22/2006
Posts: 248
Location: Randers, Denmark
When I run into problems like this, I re-publish either the parent node and children or the entire site. That usually fixes it, for me at least :)

EDIT: Sorry, did not see the 'sort items missing' part

I'm the closest thing to an Umbraco-hangaround
roual
Posted: Wednesday, June 18, 2008 1:56:35 PM
Rank: Enthusiast

Joined: 2/5/2008
Posts: 39
Fantask wrote:
Did anyone find a solution? I have the same problem and feel kind of stuck...


I didn't exactly find a solution, the problem seemed to solve itself when I uploaded the site to the main server, now sort works in all browsers previously mentioned.

Just out of interest, what type of system you running on? I had problems running with a Windows XP system, but it worked fine when uploaded to a Server 2007 system (or whatever the pre-2008 server edition was).

www.punkyduck.com
The iron heals, mends, fortifies, toughens, vitalizes, enables, engages, entertains, fulfills, instructs, humbles and makes a good door stop...
Dave Draper
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.