1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Bulk Insert categories?

Discussion in 'Showcase Support' started by xanin, Oct 15, 2015.

  1. xanin

    xanin New Member Showcase

    Is there a way to bulk insert categories? Can I do this via the DB directly if not in the admin interface?
    Basically I've got a few hundred possible categories, its a fairly shallow tree, but I really don't want to type them all (currently have them all in a spreadsheet produced by someone else).
     
  2. tajhay

    tajhay Active Member AMS Premium SC Premium Sportsbook Pickem Power Rankings Survivor

    Its gonna be a pain to view the items having to traverse through different categories man. Think about consolidating the categories if possible. If its gonna be a pain to type that id hate to think how you would be creating those items.

    Utilise tags and prefixes if possible.
     
  3. Bob

    Bob Developer Staff Member

    If you know what you are doing, yes, you can insert category data directly into the category table, however, you need to make sure all the required fields get the appropriate data (you can look at the Category DataWriter for that information). You'll also have to run the Category Rebuilds after so that the Nested Set values are properly set.
     
  4. xanin

    xanin New Member Showcase

    Splendid, thanks.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.