This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15982|Reply: 1

[Website Building Knowledge] discuz judges that different pages output different content

[Copy link]
Posted on 9/13/2017 4:25:53 PM | | | |
Because, I want to add some content to the head of the post page

The head content of discuz is to header.htm the file in the folder of the default template

This is universal, and there is no separate head file for the post page, so how can you tell from this file whether it is a post page now?



We can use CURscrip{filter}t and CURMODULE to determine whether it is the current post content page, and the effect is as follows!






Previous:asp.net Website anomaly error analysis
Next:There are still many new ones who don't understand
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com