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

FTP Dreamweaver Template File Problem

Participant ,
May 02, 2012 May 02, 2012

Copy link to clipboard

Copied

Hi,

I just started using ABC.  I'm trying to ftp my files and for some reason, I can't FTP my dreamweaver template files (.dwt).  When I transfer them using Firezilla, the file will transfer and then disappear from the folder.  When I use the Dreamweaver Files panel, it gives me an error that says the file can't be transferred.  Why is this happening?  When I go into the Site Editor on ABC, the page looks fine and shows it with the template, so where is the file going? Thanks!

TOPICS
Newbie Corner

Views

1.4K

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
Mentor ,
May 02, 2012 May 02, 2012

Copy link to clipboard

Copied

Hey there,

To upload .dwt template your username has to end with /dw. So its be something like "somesite.com/some@user.com/dw". Go to Site Settings >FTP settings in DW and check the username format.

Cheers,

Mario

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
Participant ,
May 03, 2012 May 03, 2012

Copy link to clipboard

Copied

My username already ends in /dw so that shouldn't be 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
Enthusiast ,
May 07, 2012 May 07, 2012

Copy link to clipboard

Copied

Hi Kcelsi

I too have found that you cannot create a template in DW and then upload it to BC easily, as you are experiencing, you need to create a blank template in BC first, download it to DW, work on it and re-upload.

Somehow the templates folder in the BC site is not available to add files to in DW as easily as the stylesheets folder. So I download the templates folder from BC in DW.

To create a template for a web site I do the following in

1. In BC back end go to the templates area, and create a blank template.

2. Set up the site in DW, and then download the template folder from BC. You will then have the blank tempate you created in BC on your hard drive and can work on it and re-upload to BC. BC will then see it as a template file and it will be available to apply to pages. Notice that it is a .html file

3. Start a blank template file in DW, and copy the code. The blank BC template you downloaded won't have any of the code you need like the HTML declaration at the top in <head> etc.

4. Copy the tag_pagecontent tag from the BC template  you downloaded, and put it into Notepad. (BC won't recognise your file as a template if it does not have this tag)

5. Copy all the code from the blank DW template you just created, and paste it into the code view of your BC template. Save the file, remembering to save as .html like it was in BC.

6. Put the tag_pagecontent tag from Notepad into the part of the template where you want your page content to be. This area is what you can see when editing web pages in BC.

5. Go on creating your template in DW, linking it to the website stylesheet you create. Make sure the site stylesheet is in a folder called Stylesheets.

6. Upload the Stylesheets folder and Templates folder to BC when you are ready.

Hope this makes sense and is helpful!   

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
Explorer ,
May 08, 2012 May 08, 2012

Copy link to clipboard

Copied

LATEST

Thanks.  I actually just checked and my template appears in the folder now on BC.  It just took a while to show up.  If I have any more problems, I will try your method.  I guess that's a glitch they need to fix.  Thanks for your help!

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