Skip to main content
angelahanbergimages
Participant
July 27, 2017
Answered

Missing code on Template

  • July 27, 2017
  • 1 reply
  • 274 views

I am subbing a Dreamweaver class for the next week, and I have very little experience with coding. NONE with Dreamweaver.

The students were to open a pre-existing root folder. They were then directed to create a new HTML page, and a new CSS File. After linking and making changes, adding elements, they were then instructed to create a template from this project.


Today, I had a student open their template they have saved, and it's missing ALL of the code, properties, elements, etc. Basically everything except the sidebar.

Is there a step they might have missed? Within their file, it appears that all their images and things are still there. I mentioned a linking issue, possibly?

Please help! I've exhausted what resources I personally have.

    This topic has been closed for replies.
    Correct answer Nancy OShea

    DW Templates are .dwt files saved in the Templates folder of the site's root.  If the template is moved out of that folder, it won't work. 

    Is the student certain they are opening the right file?

    The Files Panel should resemble this structure.

    SiteName (C:\MySite)

         index.html

         about.html

             - Templates

                   my_template.dwt

              -Images

                   image1.jpg

                   image2.jpg

              -Scripts

                   script1.js

                   script2.js

              -Styles

                   my_stylesheet.css

    1 reply

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    July 27, 2017

    DW Templates are .dwt files saved in the Templates folder of the site's root.  If the template is moved out of that folder, it won't work. 

    Is the student certain they are opening the right file?

    The Files Panel should resemble this structure.

    SiteName (C:\MySite)

         index.html

         about.html

             - Templates

                   my_template.dwt

              -Images

                   image1.jpg

                   image2.jpg

              -Scripts

                   script1.js

                   script2.js

              -Styles

                   my_stylesheet.css

    Nancy O'Shea— Product User & Community Expert