In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the realization of DEDECMS click on the picture to enter the next page of the function, the article is very detailed, has a certain reference value, interested friends must read it!
DEDECMS click on the picture to go to the next page function how to achieve?
Now many people who use dedecms to do portal sites have pictures or atlas channels, and some webmasters have also gone online in order to increase their popularity. For webmasters who use DedeCMS to build a station, the most important thing they want to achieve is to click on the picture to enter the next page.
Directly to the point, the characteristic is: do not modify the source code, only do processing on the template.
Modify include/arc.archives.class.php
1. Look for "/ / parse the template and assign values to the changes in the content." add the following code to this paragraph:
The code is as follows:
Function ClickPicNext ($ismake=1,$aid,&$body) {global $cfg_rewrite; if ($this- > this- > TotalPage) {$lPage=$this- > NowPage+1; if ($ismake=0) {$body=preg_replace ("/ NameFirst." _ ". $lPage.". $this- > ShortName. "'>". "\ ${0}", $body);} else {$PageList= "."\ ${0} "."; if ($cfg_rewrite = ='Y') {$PageList= str_replace (".php? aid=", "-", $PageList) $PageList = preg_replace ("/ & pageno= (\ d +) / I",'-\\ 1.htmljewelry grammar PageList);} $body=preg_replace ("/ /
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.