Modify the web with template and library volume (on)

zhaozj2021-02-16  63

If you have done 500 pages, suddenly I found a phone number or a little error in the address. What do you do at this time, is it a revision? How big will you imagine how you work? If you only have a personal home page, then there will be this problem, because if there is only a dozen pages, even if it is wrong, it is directly changed, it is invisible, but if you want to make a lot of web pages If this is a problem that cannot be ignored. Of course, Dreamwaver provides us with the easiest way, as soon as it is changed, you can update all. This is the template and library I want to say. Multi-purpose templates and libraries are a good habit. The first thing to say is when using template, when is the library. Template: You have to do a lot of pages, but not every page has to be unconventional. In fact, there are many pages consistent with the structure and layout. Different are only specific content, and you can use templates at this time. In short, if some pages differ, they can use templates. Library: If the template is based on the entire page, the library is based on the elements on the page. For a website, almost all copyright information and navigation bars are exactly the same, and the library is the best choice. A website may have different sectors, which will not only have a structure, a page layout, so the template may have a lot. But there are some elements that are the same, such as copyright information and navigation strips that have just been said. This time you can get it in one or two library files. Next, the usage of the template. Now you can create a new empty template or generate a template from a page. For example, your website has a news sector, and their structure is the same, and the difference is just the specific content. You can make the structure of the news page, insert the editable area where you need content, (the title is the default editable area), and then save it. When editing the page, choose to create from the template, then select the template you need, you can edit. There is another benefit from the template, that is, you can only modify the editable area made in the template, and other content cannot be modified, which reduces the possibility of deleting code due to accidental erroneous deletion. It should be noted that DreamWaver 4.0 and DreamWaver MX have different operations. Dreamwaver 4.0 cannot identify templates in DreamWaver MX. Dreamwaver 4.0 As long as you open the File menu, you can see "New From Template", then select the specific template from the pop-up small window, and DreamWaver MX must find a specific template in File / New / Templates to complete. However, this is not a big problem, as long as the specific operation can be skilled.

Today, I will talk about it, if you don't bother, then I will then say how to use template updates, the template does not see how to rebuild, how to do a good job and use some problems on the template.

转载请注明原文地址:https://www.9cbs.com/read-24055.html

New Post(0)