Home CMS Tutorial DEDECMS Where is dedecms page turning css?

Where is dedecms page turning css?

Aug 02, 2019 am 09:55 AM
dedecms

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=&#39;#&#39;>上一页</a></li>";
}
else
{
if($nPage==1)
{
$PageList.="<li><a href=&#39;".$this->NameFirst.".".$this->ShortName."&#39;>上一页</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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

PHP Tutorial
1592
276
How to use dedecms How to use dedecms Apr 16, 2024 pm 12:15 PM

Dedecms is an open source Chinese CMS system that provides content management, template system and security protection. The specific usage includes the following steps: 1. Install Dedecms. 2. Configure the database. 3. Log in to the management interface. 4. Create content. 5. Set up the template. 6. Manage users. 7. Maintain the system.

How to change pictures in dedecms How to change pictures in dedecms Apr 16, 2024 pm 12:27 PM

Steps to modify images in DedeCMS: Log in to the DedeCMS backend. Visit the System > Media Management page. Select the image you want to edit. Click the "Edit" button. Modify image titles, descriptions, tags, and copyright information. Crop or resize picture. Click the "Save" button to save changes. Return to the media management page and click the "Update Image Library" button to apply the changes to the site.

What loopholes does dedecms have? What loopholes does dedecms have? Aug 03, 2023 pm 03:56 PM

DedeCMS is an open source content management system that has some potential vulnerabilities and security risks: 1. SQL injection vulnerability. Attackers can perform unauthorized operations or obtain sensitive data by constructing malicious SQL query statements; 2. File Upload vulnerability, attackers can upload files containing malicious code to the server to execute arbitrary code or obtain server permissions; 3. Sensitive information leakage; 4. Unauthenticated vulnerability exploitation.

How to upload local videos to dedecms How to upload local videos to dedecms Apr 16, 2024 pm 12:39 PM

How to upload local videos using Dedecms? Prepare the video file in a format that is supported by Dedecms. Log in to the Dedecms management backend and create a new video category. Upload video files on the video management page, fill in the relevant information and select the video category. To embed a video while editing an article, enter the file name of the uploaded video and adjust its dimensions.

Where is the imperial cms resource network template? Where is the imperial cms resource network template? Apr 17, 2024 am 10:00 AM

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

What website can dedecms do? What website can dedecms do? Apr 16, 2024 pm 12:24 PM

Dedecms is an open source CMS that can be used to create various types of websites, including: news websites, blogs, e-commerce websites, forums and community websites, educational websites, portals, other types of websites (such as corporate websites, personal websites, photo album websites, video sharing website)

How dedecms implements template replacement How dedecms implements template replacement Apr 16, 2024 pm 12:12 PM

Template replacement can be implemented in Dedecms through the following steps: modify the global.cfg file and set the required language pack. Modify the taglib.inc.php hook file and add support for language suffix template files. Create a new template file with a language suffix and modify the required content. Clear Dedecms cache.

How does dedecms implement template replacement? How does dedecms implement template replacement? Apr 16, 2024 pm 12:21 PM

To implement template replacement in DedecMS, you need to perform the following steps: Determine the template file to be replaced. Common files include index.htm, list.htm and show.htm. Create a new template file, retaining the DedecMS markup. Upload the new template file, overwriting the original file. clear cache. Refresh the site to see the changes.

See all articles