xboxscene.org forums

Author Topic: Alpha Sorting  (Read 33 times)

ub312g0d

  • Archived User
  • Full Member
  • *
  • Posts: 195
Alpha Sorting
« on: July 15, 2003, 06:10:00 PM »

a full reinstall of mxm fixed this for me.  You could just try using the new mxm.xml file that comes with .9n and it should work that way aswell.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Alpha Sorting
« Reply #1 on: July 15, 2003, 06:11:00 PM »

tongue.gif
Logged

stig

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Alpha Sorting
« Reply #2 on: July 15, 2003, 06:36:00 PM »

I've got the same problem. Let me know when you find a fix!
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Alpha Sorting
« Reply #3 on: July 15, 2003, 06:39:00 PM »

tongue.gif

If you have item entries in your mxm.xml, or a menu.xml file, you need to set your <SortField> on the first entry (it will cascade down through the submenus)
Logged

stig

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Alpha Sorting
« Reply #4 on: July 15, 2003, 06:52:00 PM »

QUOTE (BenJeremy @ Jul 16 2003, 03:39 AM)
??

It should still work fine.

Be sure to.... everybody, altogether, now....

RESET YOUR MENU CACHE

(a chorus of MXM users shout)  tongue.gif

If you have item entries in your mxm.xml, or a menu.xml file, you need to set your <SortField> on the first entry (it will cascade down through the submenus)

Sorry if this is sort of a n00b question... but where/how does the <SortField> get inserted? Can you give an example?

Is it like this?:

<SubMenu>
<Title>Applications</Title>
 <Item>
  <SortField>
  <AutoDir Flatten=False Recurse=True>F:Apps</AutoDir>
 </Item>
</SubMenu>
<SubMenu>
<Title>Games</Title>
 <Item>
  <AutoDir Flatten=False Recurse=True>F:Games</AutoDir>
 </Item>
</SubMenu>
<SubMenu>
<Title>Emulators</Title>
 <Item>
  <AutoDir Flatten=False Recurse=True>F:Emulators</AutoDir>
  </SortField>
 </Item>
</SubMenu>

Or do you add it in the <AutoDir X ></AutoDir>

Thanks a bunch for the help Ben!
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Alpha Sorting
« Reply #5 on: July 15, 2003, 06:55:00 PM »

QUOTE (stig @ Jul 15 2003, 10:52 PM)
QUOTE (BenJeremy @ Jul 16 2003, 03:39 AM)
??

It should still work fine.

Be sure to.... everybody, altogether, now....

RESET YOUR MENU CACHE

(a chorus of MXM users shout)  tongue.gif

If you have item entries in your mxm.xml, or a menu.xml file, you need to set your <SortField> on the first entry (it will cascade down through the submenus)

Sorry if this is sort of a n00b question... but where/how does the <SortField> get inserted? Can you give an example?

Is it like this?:


Or do you add it in the <AutoDir X ></AutoDir>

Thanks a bunch for the help Ben!


No, SortField (it's described in the ReadMe) defines the START of the sort, and determines WHICH item subnode is used for the sort. <EndSort> stops the sort, but is implied a the end. Another <SortField> tag stops the previous sort and begins another one.

You can control the sorting very explicitly this way.

CODE



  Title
Applications
 
 F:Apps
 



Games
 
  F:Games
 



Emulators
 
  F:Emulators
 


Logged

stig

  • Archived User
  • Jr. Member
  • *
  • Posts: 52
Alpha Sorting
« Reply #6 on: July 15, 2003, 08:23:00 PM »

When I did that, for some reason it killed my XBMP and DVD-X2 link in the main menu...

Edit: Nevermind... Something else is killing that....
Logged