How To Add Categories To Dle

Table of contents:

How To Add Categories To Dle
How To Add Categories To Dle

Video: How To Add Categories To Dle

Video: How To Add Categories To Dle
Video: DLE cATEGORIES---Getucoz.in 2024, November
Anonim

The DataLife Engine content management system, due to its flexibility and wide capabilities, has recently become quite popular among webmasters. Therefore, it is not surprising that the network is increasingly experiencing problems associated with setting up this system. The most striking example is the frequently asked questions about adding categories to dle sites.

How to add categories to dle
How to add categories to dle

Instructions

Step 1

Go to the admin panel and find the item "List of all sections", then select the "Categories" tab, and a window with settings will appear in front of you. In the text fields of this window, specify the name of the category being created and its alternative name, an alternative name is not necessary for entering, since the dle system will pick it up on its own. Title - the value of this parameter will be displayed in the name of each page of the site. Also, do not forget to specify the keywords, approach their selection with all seriousness, since the issuance of your site in search engines will depend on them.

Step 2

It is not worth changing the parameters associated with templates, because this is a very complex and painstaking procedure, the incorrect implementation of which can lead to problems with the site. After finishing editing the fields, click the "Add" button. Before giving access to the site for visitors, it is necessary to create a category not only in the system itself, in the template (therefore, when choosing templates, be very careful, since it will be quite problematic to change it afterwards). To add a category to a template, go to the "Site Templates" section and select an edit object.

Step 3

A window for editing the template code will open. Find the section of the text highlighted in red, indicated in the figure, and make changes with it according to your plans. For example, in the line In the world

"instead of" hash "(after the href = command) enter a link to your category, and put its name in place of the text" World ". For example:" New

where kategoriya1 / news is a link to the category page. Also note that sometimes all categories are added to the main.tpl file, which will make editing easier for you.

Recommended: