Categories

Adding a category

Category - select Main if the category you are adding will be the main one. Or select a category you've already added if you want to add subcategories to that category.

Name - the name of the category or subcategory. You can add categories and subcategories in batches. In this case, each name should be entered on a new line.

Directory - the name of the directory in Latin. Used in category URL rule settings If the directory is not entered (for example, when adding categories in batches), then the directory is determined by the category ID.

Category template - see section Training - Templates

Content template - see section Training - Templates

Title - if titles are entered in this field, then the settings of SEO modules will be ignored.

Keywords - keywords of this category.

Description - description of this category.

Alternative description - can be used for SEO. You can use HTML for this field. By default, the variable is not output in templates. Open the template file list.htm for the module where you want to use the alternative description. Insert a variable in the required place: {$CAT['desc_other']}


Permissions

Default access for everyone - no need to select groups.

Access rules take effect if at least one group is selected.

Groups are allowed to view the category - select the groups that are allowed to view this category.

Groups are allowed to view content in a category - select groups that are allowed to view content in this category.


Copy categories

Go to the Copy tab.

Module ID - specify the ID of the module from which you want to copy all categories into the categories of the module you are in.

Module categories: Keep existing - leave all existing categories of the module you are in. Those. do not delete these categories. Delete existing - delete all existing categories of the module you are in.

All categories of the module you selected will be copied to the category you are in.

After copying/deleting categories, change all the data that was in these categories. That is, define categories for them.

After copying, be sure to update the category URLs and update the category cache.


Manage categories

To add a subcategory to an existing category, click on the icon:

To manage subcategories in an existing category, click on the icon:

To change the category, click on the icon:

To delete a category, click on the icon:

For convenience, with one click you can move any category to a subcategory and vice versa. Enter the ID of the main category in the ID field and click the Update button

Here, in the category management section, the Quick management option is available. Select a category and click on the action button: The Quick control option is auxiliary. If you have categories with three or more nestings and there are quite a lot of them, the Quick management option may not work. Use the standard options for adding, deleting and changing categories.


To display the category name in the information list, add a variable to the tag templates (template/default/tag): {cat_pos(get_cat($t['catid']), ' » ')} Please note that you may lose the uniqueness of pages for search engines by adding category output to each information.

Output the category name (link) in the category list (module list.htm template). Variable: {cat_pos($CAT, ' » ')}

Output the name of the category (name without a link) in the list of categories (module list.htm template). Variable:

{$CAT['catname']}

Last updated