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

XF 1.4 Managing Nodes

Discussion in 'XenForo Questions and Support' started by Rum Runner Entertainment, Apr 6, 2015.

  1. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Is there a way to manage and add in new category nodes in between other category nodes without messing up the order?

  2. EQnoble

    EQnoble Well-Known Member

    Set the display order for the node at a number that falls between the display or the nodes you wish this category to fall in between.

    For example , if you numbered all you node ids sequentially with no gaps (1,2,3,4,5,etc) the easiest way would be to first add a 0 to each of them (10,20,30,40,50,etc) so that if you want the new category to be the third node listed you could give it a display order number like 25 which will insert it there without messing with any of the other order (10,20,25,30,40,50,etc) .
  3. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    So you're saying that the category nodes would go by 10 or..? Just a tad confused here, apologies.

  4. EQnoble

    EQnoble Well-Known Member

    They can literally be any number you want...by spreading them out a bit it gives you the ability in the future to insert a node in the middle of the list without having to change any other node display order numbers. I suggested increments of 10 because the likelihood of you creating ten new nodes that all must go in between 2 existing nodes in the list is highly unlikely if you board is already live.

    The number itself does nothing other than set where in the list it goes...lowest number to highest number.
  5. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Indeed, although if the category nodes int eh tree go up by increments of 10, then what numbers will the child nodes of that specific category node be? Will they go up by 1's and always start on a one when in a new child node that belongs to a different category node?
  6. EQnoble

    EQnoble Well-Known Member

    It's whatever you make them. I made a suggestion for a number though you can do anything you want...the only thing that matters is that the ones you want to appear first have a lower number.

    They don't magically go up either...you will always have to set the display order you want and I'm pretty sure that when you create a new node the display order will be 1 unless you change it.

    All the display order does is control where in the list of nodes contained by the same parent it will be displayed.
  7. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

Share This Page