• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dreamweaver doesn't show templates in assets

Community Beginner ,
Mar 06, 2018 Mar 06, 2018

Copy link to clipboard

Copied

I can see all the assets but not templates. Any idea?

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 07, 2018 Mar 07, 2018

Yes, the Templates folder needs to be in the root folder of the Defined Site in order for DW to manage the Template and Child pages locally. That's just the way the program was designed to work.

Neither the Templates folder, nor any of its content, needs to be uploaded though. They are only for DW to work with locally and don't affect anything on a live site if uploaded.

Templates in DW are essentially, "the poor man's replacement for a server include". They work best with sites under maybe 50 pag

...

Votes

Translate

Translate
Community Expert ,
Mar 06, 2018 Mar 06, 2018

Copy link to clipboard

Copied

When you have deployed the Dreamweaver Template system, you will see the template(s) used for your site.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

Sorry what you mean by deploy? Actually, I am in a new job, and the boss asked me to work on a website that already developed by a previous developer. when I open Dreamweaver I can see all the assets except for the templates. I don't know what's the problem.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

In Dreamweaver, there are templates and there are Templates.


The program has a very specific thing in mind when it talks about Templates (capital T). That is, a special file only used by Dreamweaver locally with a .DWT file extension. The program uses those files to create Child Pages that stay linked to the .DWT Template for easier updating in the future. The Templates area of the Assets window is specifically talking about these .DWT files.

Does the site use any actual Dreamweaver .DWT Template files?

To find out if you have any .DWT Templates attached to your site, go to the Files window and look for a Templates folder. If that doesn't exist, there are no Dreamweaver Templates in use and the Templates area of the Assets panel will be empty.

That doesn't mean your company doesn't use some kind of design template (lowercase t) though. It's pretty normal, with a .php driven site, to have several include files that make up the overall design template. Changes to those includes would be "modifying the template" for many manager types.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

LATEST

deploy = bring into effective action.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

it is OK now. when I created a new site from inside Dreamweaver, I chose the parent folder of the website where we save the files, so the "Templates" folder wasn't in the website root. I deleted the site and created another one, then I chose the actual folder where we save the files, and it works. Now, I can see the templates in the assets panel.

But again, does "Templates" folder have to be in the site root? Why other objects appear in the assets panel even if they are not in the site root?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

Yes, the Templates folder needs to be in the root folder of the Defined Site in order for DW to manage the Template and Child pages locally. That's just the way the program was designed to work.

Neither the Templates folder, nor any of its content, needs to be uploaded though. They are only for DW to work with locally and don't affect anything on a live site if uploaded.

Templates in DW are essentially, "the poor man's replacement for a server include". They work best with sites under maybe 50 pages where no server-side technology is in use (like PHP). The Child Pages controlled by a template get updated by DW locally when the .DWT is saved (the reason DW needs them to be in their standard location). You then need to upload all of those changed Child Pages to the server to update the live site.

Creating PHP include files for your template, on the other hand, only requires modification and uploading of the include file(s), and the server handles the rest of the heavy lifting.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines