• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Default node sort order set to alphabetical if display order is the same

Razasharp

Well-known member
#1
Is it possible to set the default order to alphabetical if the nodes contain the same display order weight?

Is this easy enough to do with a file edit? If not could this be moved to the suggestions forum please?
 

Razasharp

Well-known member
#4
That'd need a code change.
Can you point me in the right direction please Mike - if it is easy enough to do? Or do you think the default sort order could be changed to alphabetical in 1.3 (if you think it's a more appropriate default?)

My forum will have a few hundred sub-forums and their order will always be alphabetical.

Also, while I have your attention, is there a command line interface or an easy way to add hundreds of forums? It's taking me forever adding them manually :lol:
 

Mike

XenForo developer
Staff member
#5
It's in the node model, but I haven't traced the code.

Unless you can write an API to insert the nodes, the ACP is the only option.
 

Razasharp

Well-known member
#6
It's in the node model, but I haven't traced the code.

Unless you can write an API to insert the nodes, the ACP is the only option.
Ah k thanks. Do you think it might make it to 1.3? If so I will continue to add them as I am and it will be sorted when we upgrade to 1.3 :D
 

Brent W

Well-known member
#9
Can someone point me in the right direction here to override the Node sorting order. I simply want to change all the nodes to 1 where I want them sorted alphabetically. If the node display order is different then it should respect the node display number instead.

I am looking through the Node model but not seeing what I need to extend.
 

Nudaii

Well-known member
#10
I recall trying to do something before close to this, took a nasty hardcode, i asked around but no threads at time got answer, and the dev offered to hire for it never got back, would be so handy to sort node order by other than display too.