Home >CMS Tutorial >DEDECMS >Where is dedecms page turning css?
DEDE's pages are displayed in two ways: dynamic and static. Obviously, there will be two tag parsing functions, corresponding to static and dynamic pages respectively. First find the arc.archives.class.php file in the include folder, \include\arc.archives.class.php
If it is dynamic, ctrl F searches for function GetPagebreakDM($totalPage, $nowPage, $ aid) if it is static, ctrl F to find function GetPagebreak($totalPage, $nowPage, $aid)
If you want to know more about dedecms, you can click:DEDECMS tutorial
Take static as an example:
/** * 获得静态页面分页列表 * * @access public * @param int $totalPage 总页数 * @param int $nowPage 当前页数 * @param int $aid 文档id * @return string */ function GetPagebreak($totalPage, $nowPage, $aid) { if($totalPage==1) { return ""; } $PageList = "<li><a>共".$totalPage."页: </a></li>"; $nPage = $nowPage-1; $lPage = $nowPage+1; if($nowPage==1) { $PageList.="<li><a href='#'>上一页</a></li>"; } else { if($nPage==1) { $PageList.="<li><a href='".$this->NameFirst.".".$this->ShortName."'>上一页</a></li>"; }
Extended content
DreamWeaver Content Management System (DedeCms) is famous for its simplicity, practicality, and open source. It is the most well-known PHP open source website management system in China and is also the most popular among users. The largest PHP CMS system, after years of development, the current version has made great progress in terms of functionality and ease of use. The main target users of the free version of DedeCms are targeted at individual webmasters. It focuses more on the construction of personal websites or small and medium-sized portals. Of course, there are also corporate users and schools using this system.
01Good user reputation and rich open source experience
It is a well-known content management system in China and has been used by more than 200,000 webmaster-level users for 4 years. With a long history of extensive application and detection of complex environments, the Dreamweaver system has a high reputation in terms of safety, stability, and ease of use, and is highly praised by the majority of webmasters. DedeCms is developed using PHP MySQL technology, and the program source code is completely open. It can greatly satisfy the webmaster's secondary development of website programs while respecting copyright. DedeCMS is the first open source content management system in China. Since its birth, it has always adhered to the principles of open source and free. As we all know, open source programs have high requirements for code standardization and program security. DedeCMS has 4 years of open source experience. Its flexible product architecture, strong scalability and scalable performance maximize the application needs of webmasters. .
02Flexible module combination makes the website richer
Often a website is far from meeting the needs of users through a single content publishing system, especially in Web2 .0 Under the general trend of promoting interaction and sharing, users very much hope to add some interactive functions such as Q&A and circles to traditional content information websites. However, if the development is based on the original system, the usability of the entire system will be affected. If other systems are used, the entire website cannot be managed in an integrated manner. Under this problem, DedeCMS has launched a module function. Program users can install software as Similarly, download the corresponding modules and install them, and these special functions will be added to the website. In this way, it is more convenient for software users to expand their websites and achieve satisfactory results.
03 Simple and easy-to-use template engine, you can change the website interface if you want
The engine is simple and easy to use, using XML markup style, and you can modify it as long as you understand HTML Make a template. Many users work hard for every website revision, because according to the old-fashioned website production process, the revision requires not only modifications to the interface, but also program modifications. In the end, it became a revision, which is almost equivalent to a website reconstruction. DedeCMS solves this series of troubles. You only need to understand some template tags of DedeCMS. As long as you understand HTML, you can modify the template file at will. Moreover, you only need to update the template file every time you upgrade, so that the program and the page are very convenient. A large degree of separation.
04 Convenient custom model
DedeCMS provides users with convenient and fast user-defined models. You can use this function to create a variety of models according to your own needs. site, if you know some secondary development knowledge, you can do it if you can think of it. Many sites often hope to create content sites such as online video playback, online music listening, or product information release. Although these model systems are not available, you can now use DedeCMS to create them yourself. You just need to think about it first. Fields of your own content, such as album name, performance, release date, etc., and then think about which field types are used for these fields, such as text, time, file upload, and then just follow the instructions in the background model management to add them. But, if you think of it, you can do it. A great advantage of the function of this model is that you can expand the subsequent functions of the website by yourself, without spending financial and material resources on development, which saves you a lot of troubles.
05 Efficient dynamic and static page deployment
DedeCMS provides users with powerful dynamic and static deployment functions. Users can make unified settings in the background column, or statically deploy a single piece of content. The biggest advantages of this static deployment are: 1. Reduce the burden on the database and reduce labor maintenance costs; 2. Contribute to the friendliness of search engines towards the website and increase the number of search engines included in the website; 3. To a large extent, improve the user access efficiency. In this way, some regional portals, industry websites, and even government department information websites are freed from worries about the decline in access rates due to large amounts of data.
06 Flexible business operation model
DedeCMS provides a relatively complete membership product system, membership level system, virtual currency management system, and provides a relatively complete In the payment interface mode, members can be set up to browse different contents and consume gold coins, so that industry portals, enterprises and institutions can develop various business operation plans based on the website platform. Members can recharge by purchasing point cards, and they can also purchase monthly or annual services to read a certain part of the content. If certain content can only be viewed by specific members, members must reach a certain level before they can deduct points for reading. Website You can make profits through point-of-sale coupons and membership level services.
07 Smooth and professional interface design, good user experience
The interface design of DedeCMS follows the latest international W3C web design standards. During the development period, we passed IE6, IE7, Testing on mainstream browsers such as Firefox and Opera can ensure smooth and complete browsing of your website. DedeCMS page design follows standards and minimizes the differences in each browser. The system will not be affected by different browsers. limit. Our excellent page designers can make the website improve user experience and website affinity.
The above is the detailed content of Where is dedecms page turning css?. For more information, please follow other related articles on the PHP Chinese website!