Answer the question
In order to leave comments, you need to log in
How in dle in each category to display their child categories?
Hello. How to display in all categories their child categories?
I will describe the situation to make it clearer. I'm doing something like a product catalog. I did not connect any modules, I use only the standard dle features.
I have such a category as "Cosmetics for lips". Her children are "pencils", "balms", "shine", "lipstick". So, in the category "Cosmetics for lips" I want to display these daughters. I also have pieces of 20 main categories such as: "Cosmetics for the eyes", "Cosmetics for the nose", "Cosmetics for the heels", etc. And they all have their daughters. Please tell me what can I do in this situation?
Answer the question
In order to leave comments, you need to log in
So look at the api.
In the API , you can simply pull up information from the database table using the load_table method.
Or find an internal method in the engine itself that pulls categories and use it. Well, or write yourself - the database structure there is not very complicated.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question