Navigation

Views

Search
 

Toolbox

Categories

From Documentation

When you click on the 'Edit Categories' link, a page loads that lists your current categories and subcategories in the left column of the table. The top categories will be left justified with their subcategories listed underneath. Subcategories will have two greater-than symbols (">>") indicating that they are a "child" of their "parent" category. Keep in mind that subcategories can also have subcategories placed in them. These will be designated with a second pair of greater-than symbols (">>"). For each level down in the category structure, another pair of greater-than symbols (">>") will appear next to the name designating their place in the category hierarchy.

Deleting a Category

To delete a category, simply press the 'Delete' button. A warning message will pop-up asking you to confirm the deletion. Any categories within the deleted category will not be deleted but will no longer be displayed because it's parent is missing. So, it's advisable to start from the lowest category and work your way up. Also, ads located within deleted categories are not deleted so it's advisable to either delete the ads prior to deleting a category or move the ads to a category you intend to keep.

Reordering your Categories

By default categories sort alphabetical then by weight. If you would like a category to appear first then you would change it's weight to a higher amount. The higher the weight the more it goes to the top.

The first step is to define the order of your parent categories (Motorcycles, Computers, Cars & Trucks). They have order numbers of 150, 30, and 5 respectively. So, they are displayed from highest to lowest number (Motorcycles, Computers, Cars & Trucks). If you wanted to put Cars & Trucks after Motorcycles and before Computers, you modify that category and assign a number between 30 and 150.

As a side note, the code only looks at the value of the number in relationship to other numbers of that same level (and parent category if it's a subcategory). In other words, you could give "Computers for sale" a number of 5 to put it before "Computer parts". It won't affect the "Motorcycles" category because "Motorcycles" is on the "Parent Category Level". You could also give "Computers for sale" a number of 25 with no problems even though "Trucks" has 25 assigned. There won't be a conflict because "Trucks" is assigned to a different parent category.