Learn the dreamer CMS content management system - use of templates, and how to write about dream parents

3 minutes
three hundred and eighty-seven
zero

Original title: Learning Dreamer CMS Content Management System - Use of Templates

Prepare website downloader

Baidu can search on the Internet by myself. The tool I use is HTTrack Website Copier, which is used to obtain a website, mainly static files. You need to analyze the static file yourself. The page we get mainly needs the home page of css, images, js and index.html.

After analysis, we get a home page index.html and css, images, js and other folders.

Next, we will create a folder with the following directories

Edit main.xml. The most important part is that the name in the name should be consistent with the theme package.

Then put the static files we prepared in this directory

Next, compress the folder we prepared into a zip package

Open our management background and upload the zip package

Error reported after uploading

Because main.xml is no longer used in the new version, pay attention to changing the file when learning the official website video. The file is changed to theme.json. The content is basically consistent with main.xml, indicating that the author has updated the version.

Re compress and upload after changing the previous directory

Successfully uploaded again

We set the test theme as the default theme. Click Theme Settings ->Start.

Next, we refreshed the homepage of our official website and found that the theme development has changed. It is no longer the previous template.

Then we need to find some problems on this page, such as resource path problems, and we will deal with them one by one.

For example, the following question

The code will be checked in the folder of static resources this time

We can edit the files here directly. Let's edit index.html first

We need to change the following paths

Dreamer CMS has provided us with some templates that we can use directly

We change the path to our own path, and the paths of the following resource locations can be changed, so we don't need to take screenshots one by one.

As for the places where there are no pictures on the page, we found that the reason is that this is the directory of background resources

This is to go to the official website to save its pictures on the page and put them in our project. You don't need to do this. You can just know. We can write down to change its menu.

The menu above should be consistent with our background. Our background is called the following name.

Find this part and let's change it

We need to read this code and find that it is a li tag. Find the tag provided by the dreamer CMS and apply it to this place

Then we change this part. We can see the data in the official website by taking the example and changing it

Look at the effect. Although there is no style, the data can come out. The style is because I deleted too many

Go back to Sohu to see more

Editor in charge:

This article is written by: Shallow singing Published on Software Development of Little Turkey , please indicate the source for reprinting: //hongchengtech.cn/blog/4709.html
Shallow singing
author

Related recommendations

1 year ago (2024-02-20)

What technologies have been applied and developed in the field of new media, and the application of new technologies in media

In the field of new media, many technologies have been applied and developed. These include: cloud computing: cloud computing technology enables new media companies to develop and deploy applications more quickly, and can dynamically adjust resources according to needs. Big data: New media companies can use big data technology to analyze massive user data, understand user preferences, behavior habits and other information
nine hundred and seventy-one
one
1 year ago (2024-02-20)

WMS warehouse management system, promoting the transformation of warehousing from extensive to fine management, WMS warehouse management

Warehousing is extremely important for the manufacturing industry and is an important guarantee for the survival and development of manufacturing enterprises. However, with the expansion of manufacturing enterprises' business, the traditional warehouse management has been unable to respond to business changes quickly. The extensive management mode not only makes the warehouse operation not smooth, but also increases the storage cost. Therefore, it is necessary for manufacturing enterprises to deploy a WMS warehouse management system
eight hundred and forty-eight
one
1 year ago (2024-02-20)

How to select MES system? Main contents of MES production management

Original title: How to select MES system? The main content of MES production management Production and manufacturing activities are the core activities of manufacturing enterprises. As the entity unit of manufacturing activities, planning objectives and the realization of enterprise value, workshop management is the focus of enterprise management. With the rapid development of manufacturing industry, MES is the focus and current hot spot of manufacturing enterprise information automation system
nine hundred and sixty-four
zero
1 year ago (2024-02-20)

The WeChat management system can manage the information content of WeChat more effectively. Let's manage the data of WeChat here

Original title: WeChat management system manages the information content of WeChat more effectively. Many enterprises will assign work to WeChat, because no one wants their personal WeChat to mix work and other related knowledge, but someone will always use the company's loopholes to do something harmful to the company's interests. Don't think such things are rare. I learned about a media financing company in Shenzhen. They have 3
seven hundred and seventy-five
zero
1 year ago (2024-02-19)

Student electronic file management system, three-dimensional communication space of "home", "school" and "community", and school electronic files

In the era of big data, in the process of recording the growth of students, the school reexamines the management of student files, moves with the times, and promotes the reform of student growth files with new thinking. "Electronic files of primary and secondary school students' growth records" have been gradually introduced into educational management, and show vigorous vitality. Student file management system is an indispensable part of the school, its content for the school
five hundred and sixty-nine
zero
1 year ago (2024-02-19)

Ruizhe Information: Select Sitecore? Or... just six steps to choose a content management system, Ruizhe Information Technology Service Co., Ltd

The content management system (CMS) is an important part of the success of website construction. At present, the content management system on the network is relatively complex. It is not easy to find a good content management system that is very suitable for the current digital marketing environment. Before we compare the functionality, operation, scalability, security and other specific performance of the major CMS systems, we need to achieve
three hundred and forty-three
zero

comment

0 people have participated in the review

Scan code to add WeChat

contact us

WeChat: Kuzhuti
Online consultation: