modxcms/revolution — pull request #11561 by exside (2014-06-23 15:27:57+00:00)
Title: Enhancement: Make TV categories order configurable by a new rank field

This PR doesn't work as it should yet...all that is needed to set and save a rank for a category is in place, e.g. new field in schema/map/table + the necessary extJS for the additional field in create/update windows, looks like this then:

create:
![bildschirmfoto 2014-06-23 um 17 24 55](https://cloud.githubusercontent.com/assets/445501/3359644/960c039e-faea-11e3-8cb9-cbe553e06e78.png)

update/rename (we can discuss to rename the "rename" stuff to update as it would be more than rename now):
![bildschirmfoto 2014-06-23 um 17 24 47](https://cloud.githubusercontent.com/assets/445501/3359648/aa454942-faea-11e3-86d9-deac23ebb08a.png)

my problem that I couldn't solve is to actually apply this rank to the order of the vertical tabs in the resource tv edit tab...
![bildschirmfoto 2014-06-23 um 17 15 11](https://cloud.githubusercontent.com/assets/445501/3359656/bd7e2790-faea-11e3-96f8-ac9404b4e1ae.png)

where or what t** f*** is generating this? Searched everywhere, but can't figure it out...I can see where it's rendered, but not where it gets the data from?? Where is the Category name fetched that is later renderd as a v-tab title? Anybody?

I guess if I knew where to look this would be quite easy to add...