How to modify the DEDECMS search page to support dede tag calling
DreamWeaver DEDECMS search page supports dede tag call. How to modify it?
Recommended learning:Dreamweaver cms
DedeCMS Dreamweaver template search page supports dede tag call modification method:
The php file of dede template search page is search.php, we need to make the search page support dede tag You have to modify this file Dreamweaver Template Group
Let’s talk about how to make the search page support arclist and channelartlist tag calls
Open include/arc.searchview.class.php
Find
require_once(DEDEINC.”/taglib/hotwords.lib.php”); require_once(DEDEINC.”/taglib/channel.lib.php”);
Insert below
require_once(DEDEINC.”/taglib/arclist.lib.php”); require_once(DEDEINC.”/taglib/channelartlist.lib.php”);
Find
else if($tagname==”hotwords”) { $this->dtp->Assign($tagid,lib_hotwords($ctag,$this)); }
Insert below
else if($tagname==”arclist”) { $this->dtp->Assign($tagid,lib_arclist($ctag,$this)); } else if($tagname==”channelartlist”) { $this->dtp->Assign($tagid,lib_channelartlist($ctag,$this)); }
If we need to support other dede tags, please refer to the above Just modify the code.
The above is the detailed content of How to modify the DEDECMS search page to support dede tag calling. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

Notepad++7.3.1
Easy-to-use and free code editor

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Chinese version
Chinese version, very easy to use

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
