How to remove related categories on the DiscuzX3 portal article page

Source: Internet
Author: User
There have been many modifications to the discuzX3 code over the past few days. of course, I will not write the code myself. I have modified the methods I found on the Internet, but I always forget that, so I recorded it in my blog, which is also convenient for my friends who have encountered the same problem. First, find the template/default/portal/view.htm and modify it in the last few days of street 171 of this file. DiscuzThere are a lot of X3 code, and of course I won't write the code myself. I tried to find a method on the Internet to modify it myself, but I always forgot it. so I recorded it in my blog, it is also convenient for friends who encounter the same problems as me.

First find the template/default/portal/view.htm

Remove the lines in the 171 Street and 199 lines of the file, and save the overwrite source file.

However, it should be noted that the modification is complete and the cache is updated, but the related categories are still there. here we need to DIY a sidebar. after DIY, the related categories will not exist.

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.