What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Question Change The Order Of The Categories

Discussion in 'XenGallery' started by snoopy5, Aug 25, 2013.

  1. snoopy5

    snoopy5 Authorized Member Authorized

    I made the setup that if a user uploads images, he has to choose a category first with the drop-down choice.

    Is there a way to change the order of the categories how they appear in this drop-down choice? So more common categories comes at top, less used categories at the buttom?
     
  2. sonnb

    sonnb Administrator Staff Member

    Hello,

    Please take a look on AdminCP -> XenGallery -> Categories. Each category has a display order. You could change that value to arrange your categories.
     
    NaNa and snoopy5 like this.
  3. UDieckmann

    UDieckmann Authorized Member Authorized

    Hello,

    is it also possible to change the display order of albums by an id? I do not need the orders "latest updated and most comments".... I´d rather prefer a sticky order that i choose.

    Regards
    Ulli
     
  4. sonnb

    sonnb Administrator Staff Member

    You can do that by choosing the "Last created date" in the option:

    upload_2017-8-8_15-29-49.png
     
  5. UDieckmann

    UDieckmann Authorized Member Authorized

    Hi,

    thank you for your answer but that is not what i wanted. I would like to have a display order that I can provide myself. sing "the date" or "last updated" is not suitable for me. I would like to have an additional field where I can use numbers "10", "20", "30" etc. for ordering... That would be great!

    Regards
    Ulli
     
  6. sonnb

    sonnb Administrator Staff Member

    The order you use need to be supported in the code before it could be used. In order to allow freely control this, it requires open the code for any field sort. This first can lead to error where invalid field name is entered. Or more dangerous, if admin account is controlled by bad Mod, this is the security hole.

    If you really need this, I suggest you modify the code yourself to support any sorting you want.
     

Share This Page