Do a website, the trouble is being updated, especially large-scale update, workload is very big. Do not know those originality really ceaseless and assiduous ” stationmaster ” , lie between 3 fork 5 come to the website ” change blood greatly ” , it is how busy come over.
Tell you this secret, they are to be in more very ” wholesale ” webpage, and also have in your machine such ” wholesale station ” ! This good east east namely — pattern plate. Common webpage makes a tool: There is this function in FrontPage, Dreamweaver. When if use DreamWeaver 3.0,making a website, use pattern plate can reduce many repetition to work.
One, build pattern plate
1, found pattern plate page
The simplest way is put a webpage additionally for pattern plate file, through executing an order: File → Save As Template, dreamWeaver can build folder of a pattern plate in website root catalog — Templates will save this pattern plate.
Of course, also can build a pattern plate: Window → Templates, the Templates face plate that can appear, click right the New Template pushbutton of next horn, input file name, built; of an empty pattern plate to click Open Template pushbutton to open this pattern plate again, after saving deposit automatically in Templates of folder of website pattern plate.
Build, the pattern plate page that open and different of common webpage it doesn’t matter, can join form, layer, picture, animation, script likewise, setting page attribute.
Citing: It is with making a pattern plate here for the exemple bright. In this page, we hope left website label graph and bottom navigation chart appear in every page. Mark among them the graph is become by two pictures overlay, the character on navigation graph ” update recently ” , ” online read ” , ” bale download ” etc differentiate to distinguish into a few heat do not link different file, they are changeless in every page. The homepage area area of right upside and left next horn play a type to choose the page below single button to explain criterion each are not identical. To hold a page neat, we decorate these elements with form.
Say it just does not have what can edit area well and truly ” accurate pattern plate ” , below again set can edit area.
2, set can edit area
Set pattern plate can edit area, have two kinds of methods generally speaking.
Build can edit area: Choose an order: New Editable Region of Modify → Template → . This command is carried out to be able to turn into this area after some clear area is clicked inside the country can edit area.
Mark some area is can edit area: Choose an order: Mark Selectin As Editable Region of Modify → Template → . If some area has had a few characters, and hope the part in text file exceeds to withhold its content in what build later, first this area carries out pitch on again mark commands can.
Cancel to be able to compile position: Choose an order: Unmark Editable Region of Modify → Template → . The meeting after executing this order is played give a dialog box, have among them current already some can compile area list, pitch on wants the area name that cancel, affirm can.
Citing: Click casually in big clear area, new Editable Region of → Template → commands executive Modify, the name inputs in shooting a dialog box: Main; pitch on is left this page shows next character the character below, mark Selectin As Editable Region of → Template → commands executive Modify, input name: Exp. Can see can edit an area to show for shallow blue, save finish pattern plate to make namely.
2, use pattern plate
1, build a page according to pattern plate
Command: File → New From Template. Shoot a dialog box, choose pattern plate from inside pattern plate list, divide in occurrence new page there all can be flaxen background outside editor area, it is the share that cannot have modification. Blank Main edits an area to be able to undertake insertion the operation such as form, character, picture directly, exp edits area reservation to have original character, revise or re-edit all but.
2, be opposite already substantial page uses pattern plate
Command: Apply Template To Page of Modify → Template → . After choosing pattern plate, still can play give a dialog box, let you choose to show some isolating that content is saved to be able to edit area to which (Choose Editable Region For Orphaned Content) . If do not think reservation is OK,choose ” (None) ” .
Citing: We build a common page first, input: “CIW computer atelier ” , apply Template To Page of → Template → commands executive Modify, choose pattern plate Test, existing content saves area to choose Main, after affirming, can see the page turned pattern plate into automatically the form of the page, and ” CIW computer atelier ” this group word appears in window of chief editor collect.
3, update pattern plate with updating a site in the round
After was based on some pattern plate to build a few pages, when after undertaking modification to pattern plate, be being saved, can give a dialog box from move, listed and all the page that used this pattern plate, whether does the inquiry want to update.
Additionally one kind of method is to execute order of Update Pages of Modify → Template → . The some that selects a site or site from inside Update Pages dialog box is planted pattern plate () of many pattern plate can be used in same site, click the Start pushbutton on the right side of, software can search as associated as pattern plate photograph webpage automatically hand-in-hand travel is newer. Very convenient!
Citing: Test pattern plate is left in the graph ” read defeat 10 thousand stations ” the picture is to use cascade of a graph to be added on another picture, do not want it now, still think this picture in will all page all is deleted at the same time. Can open pattern plate Test.dwt, delete this graph layer, save pattern plate, click on the right side of ” Update ” pushbutton can.
Attention: Before build and using pattern plate, need to define a site. The method is, executive command: Site → Define Sites; appoints site name and catalog of this locality root (Local Root) . What pattern plate uses is opposite way, if did not appoint a website to be in the position of this locality, software cannot accurate find and save; of pattern plate file and when applied pattern plate is built and updating a page, the page exceeds a link mediumly to also cannot save different and corresponding change of the position along with page file.
Ask an author to contact this station, seasonable annotations your full name. Contact mailbox: EDu#chinaz.com (# instead @ ) .
Bookmark:Digg Del.icio.us Reddit
