This section is aimed to explain you how to:
•
|
Add a New Category/Subcategory;
|
•
|
Add Specific Fields for a Particular Category.
|
Add a New Category
To view categories currently available in the system, click the ‘Categories’ link of ‘Listing Management’ section in the left administration menu. The 'Categories' page will be opened. On this page you can add a new category by clicking ‘Add a New Category’ link. Set the following parameters in the opened dialog box:
•
|
ID – the unique category ID (mandatory parameter). The administrator sets up the 'ID' to use it easily in the templates .
|
•
|
Name – the unique category name (mandatory parameter);
|
•
|
Input Form Template – the name of the file which included the template for the input form for listings of this category. If the file name is not specified, the system will use a default template ('default_input.tpl').
|
•
|
Search Form Template – the name of the file which included the template for the search form for listings of this category. If the file name is not specified, the system will use a default template ('default_search.tpl').
|
•
|
Search Results Template – the name of the file which included a template to display search results for listings of this category. If the file name is not specified, the system will use a default template ('default_results.tpl').
|
•
|
Template for Listing View – the name of the file which included a template to display listing details for listings of this category. If the file name is not specified, the system will use a default template ('default_view.tpl').
|
To submit your category, click the ‘Add’ button.
The newly created category will appear in the ‘Categories’ table. In this table you can see:
•
|
ID – ID of a particular category. Category ID is marked as a link. By clicking this link the administrator can add subcategories to a category.
|
•
|
Number of Listings – number of listings for a particular category
|
•
|
Number of Subcategories – number of subcategories for a particular category
|
By clicking the 'Edit Category Fields' the administrator can add fields specific for a particular category.
By clicking on the 'Relocate Category' link the administrator can:
| 1. | move the category before or after adjacent category on the same level (adjacent categories have same parent); |
| 2. | move the category (with subcategories) up or down on a level (set as a subcategory of another one). |
For more information about Relocating Categories see this topic.
By clicking the ‘Edit’ icon next to a corresponding category you can change all the above-listed parameters of the category.
By clicking the ‘Delete’ icon next to a corresponding category you can delete the category.
Add a New Field
To add a common field:
•
|
Go to Admin Panel -> Listing Management -> Categories
|
•
|
Click the 'Edit Common Fields' link
|
•
|
Click the 'Add a New Category Field' link
|
•
|
Fill out the 'Add a New Category Field' form with the following parameters:
|
•
|
ID – the unique field ID (mandatory parameter). The administrator sets up the 'ID' to use it easily in the templates .
|
•
|
Caption – the unique category field name (mandatory parameter);
|
•
|
Required - this flag means that the category field is required to fill.
|
•
|
Click the ‘Add’ button.
|
To add a category-specific field to a particular category:
•
|
Go to Admin Panel -> Listing Management -> Categories
|
•
|
Click the 'Edit Category Fields' link in the 'Categories' table near the category where you want to add a field.
|
•
|
Click the 'Add a New Category Field' link
|
•
|
Fill out the 'Add a New Category Field' form with the same parameters as on the form for common fields.
|
Important notice: Field IDs must be unique within category, all parent categories of the category and all subcategories of the category.
Add a Subcategory
Each category can contain unlimited number of subcategories. To view subcategories of a particular category, click the ID of a particular category. Category ID is marked as a link. The 'Subcategories' page will be opened. On this page you can add a new subcategory: click ‘Add a New Subcategory to This Level’ link and fill the form with the same parameters as on the form for adding a category.
|