How to make a Web page template with Dreamweaver

Source: Internet
Author: User
Tags dreamweaver root directory

Do a website, update too cumbersome, especially large-scale updates, and the workload is very large. I really do not know those webmaster, is how to make a Web page template. Regularly will be a big update to the site, do not know how busy they are.

Tell you the secret, in fact, many of them are in the "wholesale" page, and your server also has such a "wholesale station"! This thing is--template. This feature is available in both FrontPage and Dreamweaver, a common web-making tool. If you use Dreamweaver 3.0 to make a website, using a template can reduce a lot of repetitive work.

How to make a Web page template The first step, create a template

1, create the template page

The easiest way to do this is to save a Web page as a template file by executing the command: File→save as Template,dreamweaver creates a template folder--templates in the site root directory to hold the template.

Of course, you can also create a new template: Window→templates, will appear in the Templates panel, click on the lower right corner of the new template this button, enter the filename, you set up an empty template; click Open The template button opens the template and is stored automatically in the Templates folder of the site template.

A new, open template page is basically no different from a normal Web page, and you can also add tables, layers, pictures, animations, scripts, and set page properties.

2, to set the editable region

Set the template editable region, generally there are two methods.

Create a new editable region: Select the command button: Modify→template→new Editable Region. When you click in a blank area to execute the command, you can change the range into an editable region.

Mark an area as editable: Select the command button: Modify→template→mark selectin as Editable Region. If an area already has some text, and you want to keep its content in a new hypertext file later, select the area and then execute the tag command.

Cancel Editable Status: Select command: Modify→template→unmark Editable Region. After executing the command, a dialog box pops up with a list of editable regions that are currently available, select the name of the zone to be canceled, and click OK.

How to make a page template step two, use a template

1, according to the template to create a new page

Pop-up this dialog box, select a template from the list of templates, the new page appears in addition to the editable area of the background, this is the part that can not be modified. Space in the main edit area can be inserted directly into the table, text or pictures and other operations, exp edit area to retain the original text, modify or edit also can be.

2, to an existing content of the page application template

After you select the template, a dialog box pops up, allowing you to select the existing orphan content to save to the editable area. If you don't want to keep it, select "(None)" directly.

3, to complete the Update site update template

After creating some pages based on a template, when the template is modified to save, it automatically pops up a dialog box that lists all the pages that use the template and asks if you want to update it.

There is another way to execute the modify→template→update pages command. To select a template for a site or site from the dialog box in update pages, click the right Change Start button, and the software automatically searches for and updates the page associated with the template. It's also very convenient!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.