Add an article for level 2 categorization-php Tutorial

Source: Internet
Author: User
An article that adds a level-1 category to a level-2 category is a query of all the following sub-categories. However, if you select a level-1 category when adding an article, the front-end will not display the articles it has added because all sub-classification articles are displayed. Share To: add an article for level 2 classification
One-level classification is to query all the following sub-classification articles,
However, if you select a level-1 category when adding an article, the front-end will not display the article it added because
Is an article of all subcategories.

Share:


------ Solution --------------------
What do you want to ask?
------ Solution --------------------
Reference:
Quote: reference:

Quote: reference:

If they are users and select 1J categories, the articles they add will not be displayed on the front-end.

Do you use open source or write it yourself?
Self-written.


In the background, you can change the option of level 1 category to an unselectable option, so that the customer will not select level 1 category.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.