Sunteți pe pagina 1din 5

What is a template.dwt file?

A file ending in the extension .dwt is a Dreamweaver template that uses the same
layout structure throughout your site. This structure is consistent and is seldom
modified. A .dwt file usually incorporates top or side navigation elements and
includes an editable region for the content, that can be changed in each seperate html
file. The main structure of the .dwt file is locked in a html file that uses the .dwt file.
Only the content is editable.

When you create a new page, all you need to do is to use the command 'modify >
Templates >apply template to page.'


Ce este un fiier template.dwt?


Un fiier care se termin n extensia. Dwt este un ablon Dreamweaver care utilizeaz
aceeai structura de planuri de-a lungul site-ul dumneavoastr. Aceast structur este
consecvent i este rareori modificat. Un fiier tdw. Incorporeaza, de obicei, elemente de
navigare de top sau secundare i include o regiune editabil pentru coninutul, care
poate fi schimbat n fiecare fiier html separat. Structura principal a fiierului tdw. Este
blocat ntr-un fiier HTML care utilizeaz fiierul tdw.. Numai de coninut este editabil.

Atunci cnd creai o pagin nou, tot ce trebuie s facei este s utilizai comanda
"modifica> abloane> aplica ablon de pagin."








Click on thumbnail to preview screenshot of template.dwt file

Facei clic pe miniatur pentru a previzualiza screenshot de fiier template.dwt


What are the Advantages of using .dwt files?

When you use .dwt files on each of your html files, you can edit the core .dwt file
such as inserting a new navigation button or deleting an existing one, and the changes
will be reflected sitewide, without having to do it manually on each html page, saving
you considerable time and effort.

Care sunt avantajele de a folosi. Fiiere tdw?


Cnd utilizai. Fiiere tdw pe fiecare dintre fiierele HTML, putei edita miezul. Fiier tdw, cum ar
fi introducerea unui nou buton de navigare sau terge unul existent, iar modificrile vor fi
reflectate sitewide, fr a fi nevoie s o fac manual pe fiecare pagina html, economisind timp i
efort considerabil.

Steps for converting your html file into a template.dwt

Step 1 : Create an editable region.

Open your html document in Dreamweaver and highlight the area you wish to make
an editable region for. This area can be an entire text, a table or a column.

Step 2 : With your area highlighted, select from main menu 'Insert > Template
Objects > Editable Region'


Step 3 : In the 'New Editable Region' dialog box that appears assign an appropriate
label for your editable region such as 'content'. Click 'OK'.




Step 4 : If you need to create additional 'editable regions' just follow the same steps
as above but assign a new label for each new region.


Step 5: From main menu select 'File > Save As'. Save the file 'template' ending in
.dwt format (template.dwt).


Step 6: To create a new page from the template select 'File > New'. In the dilaog box
that appears select 'Page from Template'. A list of your defined sites will be
displayed in the second column named 'Site'. Select a site and then 'template' listed
in the thrid column as shown in the screenshot below.

Pai pentru a converti fiierul html ntr-un template.dwt


Pasul 1: Crearea unui regiune editabil.

Deschidei documentul html in Dreamweaver i de a evidenia zona pe care dorii s facei o
regiune editabil pentru. Aceast zon poate fi un text de ntreg, un tabel sau o coloan.

Pasul 2: Cu zona de evideniat, selectai din meniul principal "Inserare> Obiecte de abloane>
Editable Region"


Pasul 3: n fereastra de dialog "New editabile regiune", care apare atribui o etichet
corespunztoare pentru regiunea dvs. editabile, cum ar fi "coninut". Facei clic pe "OK".

Noua regiune editabil


Pasul 4: Dac avei nevoie pentru a crea "regiuni editabile" suplimentare urmai aceiai pai ca
mai sus, dar atribui un nou label pentru fiecare nou regiune.


Pasul 5: Din meniul principal, selectai "File> Save As". Salvai fiierul "template", care se
ncheie n format. Tdw (template.dwt).


Pasul 6: Pentru a crea o nou pagin de la ablonul selectai "File> New". n caseta dilaog care
apare selectai "Pagina de ablon". O list de site-uri definite vor fi afiate n a doua coloan
numit "Site-ul". Selectai un site i apoi "ablon" care figureaz n coloana thrid aa cum se
arat n imaginea de mai jos.


Import site into Dreamweaver


Create a new file on the desktop give it a name this now is your Root Folder.

Open Dreamweaver go to Site> New Site > when window pops up in the Site name: name it same as root
folder.

Then in the local root folder box click on yellow folder navigate to your desktop Root Folder click into it
and then hit select - then go to category on the left select Remote info.

Then across to the access window select FTP Fill in the required information. Then on a main page in
Dreamweaver to the right select Remote View and then you can select the little box underneath which will
take you to a screen that a split down the middle on the one on the left is the server where your website is
located and on the right is your local files.

On the left side of the screen at the top navigation tools there is a green arrow Get Files select - your files
will now download from the server to the right side of the screen when this is done select the box in the
top window again and you go back to your Dreamweaver workspace. Hope this helps.


A crea un nou fiier pe desktop da un nume acest lucru acum este ta "Folder rdcin".

Deschis Dreamweaver du-te la site-> New Site> cnd fereastra apare in numele site-ului: nume-
l la fel ca folder rdcin.

Apoi, n caseta Folder rdcin local, facei clic pe folderul galben naviga pe desktop "Folder
rdcin", facei clic pe ea i apoi a lovit selectai - apoi du-te la categoria pe stnga selectai
"informaii de la distan".

Apoi, pe la fereastra de acces selectai FTP Completai cu informaiile solicitate. Apoi, pe o
pagin principal n Dreamweaver la dreapta selectai Remote View i apoi putei selecta
cutiua sub care v va duce la un ecran care o ruptur n jos de mijloc pe cea de pe stnga este
serverul pe care site-ul dvs. se afl i pe dreapta este fiierele locale.

Pe partea stng a ecranului la instrumentele de navigare de sus exist o sgeat verde Ia
fiiere selecta - fiierele vor descrca acum de pe server n partea dreapt a ecranului, atunci
cnd se face acest lucru bifai caseta de la fereastra de sus din nou i tu du-te napoi la spaiul
de lucru Dreamweaver. Sper c acest lucru ajut.

S-ar putea să vă placă și