The "GetCategoryList" function of zblog is used to obtain the classification list collection data.The function is constructed on line 2994 of "zblogphp. php".As shown in the following figure: function parameter: $select array;Obtain the specified data$Where array, data acquisition restriction rule $order array, data acquisition collation$Limit array to obtain the data quantity limit$Option array
The emlogpro version has been released and the emlog application center has also been launched, but there are still few emlog tutorials.Recently, we need to obtain some data of the specified category when we wrestle with an emlog template. After looking at the source code of the emlog program about obtaining sql, we wrote a function://Obtain the category of the specified id functiontx_get_cate (
Today, we will build a zblog test station locally, a small skin panel (php study) for the server environment.After moving files and databases from the original test station, open the homepage of the website and directly prompt "Noinputfilespecified". This prompt means that the specified file is not found, and then start troubleshooting. First add "
Today, the TDK function comes with the theme of Toss zblog. I don't want to write tags in the template file. I want to make a function call more convenient.After some problems are solved, they are shared and hope to help zblog users with the same needs.Zblogphp has a global variable of "$zbp", "global $zbp;" in the function, and then you can get the current page through this object
The Spring Festival holiday of Tianxing Studio in 2023 is from January 20 to January 28, 2023.During this period, qq information reply is not timely or not reply, please forgive me.Finally, I wish you all a safe, happy and happy Spring Festival
Recently, while developing a vue3 project, I encountered the problem that axios requests cross domains when developing and testing locally.The address of vite local development preview is“http://localhost:3000/”The local web address of phpstudy is“http://localhost:80”。The console will report an error, and Firefox browser will report an error as follows: Cross source requests have been blocked: the same source policy prohibits reading at the "request ur..."
Tianxing Studio wrote an article "Record: pagoda task manager+AliYunDun+cpu occupies 100%" before.Today, I felt that the website was a bit stuck. When I opened the pagoda panel, I saw that the good guy's CPU started to account for 100% again. This time, the CPU accounted for 100%, which was different from the last time. In addition, I was too lazy to log in to Alibaba Cloud to view the process, so I used a local method: directly look at the proportion