discuz modifies the code method of portal.php
This article mainly introduces the discuz to modify the portal.php code method, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
How to modify portal.php: first enter the discuz interface; then select "Navigation Settings-> main Navigation" and establish a new navigation; finally, enter "Global-> Domain name Settings-> Application Domain name-> default" and set your own domain name.
Discuz modifies the code of portal.php:
Step 1: interface »Navigation Settings »main navigation to create a new navigation with the same name as your portal or forum, check available, and remove the corresponding available, in order to proceed to the next step.
Step 2: global »Domain name Settings »Application Domain name »set your own domain name by default
Step 3: it's done. No matter whether your users click LOGO or click the home page (forum), the tail will not be displayed.
The above changes are portals. If you are a pure forum, set up the same navigation as the name of the forum in the first step.
Thank you for reading this article carefully. I hope the article "discuz Code method for modifying portal.php" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!