Fortune Telling Collection - Fortune-telling birth date - How to change the template for weaving dreams? Weaving dreams replaces the template of your own web page.
How to change the template for weaving dreams? Weaving dreams replaces the template of your own web page.
1。 Decompress the received compressed package. After decompression, upload the folders inside (usually templates and uploads) to the root directory of the website for overwriting. 2. Modify the default dede template style:
Enter the dede background, find' system'-'system basic parameters', and change the default style to the new dede template style name (that is, the folder name where the dede template file is located, which should be found in templates) -OK.
3. Generate home page:
Found, "Generate"-Update homepage html
Modify the directory where the dede template file is located on the home page, and generally change the default /index.htm to {style}/index.htm. ..
The system default template is:/root directory/template/default.
The files in the default folder are the templates used by the website.
The template folder downloaded from the Internet can be named /templates/style2 and uploaded to the website directory. In the background system management-template default style, change the default to style 2, and "HTML update"-select the homepage template: find index.htm or index.html in the style 2 folder, and finally click "Update homepage HTML" to change the homepage file. Some downloaded template files contain img folder, which is the picture needed by the template. To replace the original /templates/img, the corresponding folder can be replaced with the corresponding original folder. The template folder downloaded from the Internet can be named /templates/style2 and uploaded to the website directory. In the background system management-template default style, change the default to style 2, and "HTML update"-select the homepage template: find index.htm or index.html in the style 2 folder, and finally click "Update homepage HTML" to change the homepage file. Some downloaded template files also have img folders, which are the pictures needed by the template. You also need to replace the original /templates/img, and the corresponding folder can replace the corresponding original folder.
I tried to use the template, but I didn't think it was suitable. There are many places I don't want, and other people's templates may not be suitable for you. The real template still needs to be modified by myself, so I still use the original template and plan to try to modify it myself.
There are three main types of files in the default folder: according to the prefix of the file name.
1.article_xxxx article template
2.list_xxxx list template
3.index_xxxx cover template
Officially: document template, list template, channel cover template. Anyway, the final template for publishing articles is article_xxxx, and the other two templates are used for classification, not for directly displaying articles.
There are many kinds of content published on dede: ordinary articles, software, photo albums, Flash and so on.
Content model, what is a content model? Content mode is what kind of content you publish online, which is related to the content you publish and the type of website you make. For example, to be a news website, you can choose ordinary articles; If you are a software download station, the published content is software; Flash station, the content released is Flash, which is easy to understand.
So there are many kinds of content models. Just click Channel Management-Content Model Management to see what content models are available.
However, no matter what kind of content, templates can be divided into the above three categories.
The prefix of the template is the same, but the suffix is different according to different content models. The suffix of ordinary articles is article.
The three template files of common articles are
Article _ article.htm
list_article.htm
Index _ article.htm
To view the files used by each template, click Channel Management-Content Model Management, and there is a "Management" column on the right. Click the small blue icon "Template" to view the files corresponding to the template.
So which template to modify, just modify the corresponding file directly.
The top text on the first page of my dream-weaving mobile phone template can't be found in the template Is there a code god?
The homepage can be displayed dynamically with PHP file directly. Conveniently, when making changes, you don't need to generate html files.
You can do the conditioned reflex test directly.
Modify the method, edit and open the index.php in the root directory, and replace everything with the following code.
How to modify dede tips in the background of dream weaving?
The foreground prompts to modify include/common.func.php and the background prompts to modify dede/sys _ data _ done.php. Modify the file directly by looking for "DedeCMS prompt information" in the corresponding file. There are two system menus to modify: dedeincinc_menu.php Pay attention to online feedback of backup files before modifying and how to modify the template of the member center: /member/templates/ how to modify dedecms itself.
Where does the showmsg function dede in include/common.func.php modify the payment method in the mall?
Go to phpmyadmin to manage the database and modify this table. De _ shops _ paytype distribution mode modification: backstage > member > distribution mode setting payment interface setting: backstage > member > payment interface configuration parameters.
The html file directly modified by Dream Weaving website is uploaded to cover the original one. At first, it was changed, and the next day it was restored. Why?
Crash, you transformed index.html. This is a generated static file. It's no use changing it. Just update the homepage in the background and it will change back. The template needs to be modified. The default home page template address is/templates/templates/default/index.htm Note that in dede, the suffix of the template file is. Htm, and there is no "l" after it.
Beginners learn how to solve the secondary development of learning dreams, see?
The secondary development of dream weaving is mainly to modify and adjust the settings of dream weaving template, mainly to transfer space, change the template layout and design the calling code to change dream weaving. You need to learn the rules of dream weaving hanging, and the others are CSS and P.
- Related articles
- Which age group are Kelly and Super Coke suitable for?
- I want to visit Kaifeng recently. I heard that Kaifeng night market is quite famous. Please give me some advice on how to get there. Cheap, authentic and varied.
- Who is Ruby Lin Ruby Lin?
- May I ask the question of birth and Buddha?
- A brief analysis of fortune telling
- BbFortune _ Chat Fortune-telling Game Mu Yi
- Toilet spirit fortune teller _ Ce Shen divination
- Please tell my fortune and astrology.
- Fortune-telling is a nemesis.
- Is the fortune-telling accurate in Taoyuan Community of Jinan _ Taoyuan Community of Jinan