by-expession

Expression Web Resources

DWT set up in Dreamweaver not working

Latest post 11-18-2007 12:05 PM by Vincenzo. 7 replies.
  • 11-16-2007 6:49 PM

    DWT set up in Dreamweaver not working

    I've just downloaded to my hard drive a site that was set up in Dreamweaver.  They had a dwt that was attached to several pages, but when I look at the dwt, it is attached to no page, and there are no editable regions defined.

    Could I have done something wrong when I published it to my hard drive?  I opened the ftp site in the left local pane, and my empty site was in the right remote pane, and published it.

    Thanks

    Filed under:
  • 11-16-2007 7:04 PM In reply to

    Re: DWT set up in Dreamweaver not working

    And I have checked "enable meta data" under Site > Site Settings > General Tab..

  • 11-16-2007 7:10 PM In reply to

    • cdwise
    • Top 10 Contributor
    • Joined on 12-22-2006
    • Houston, TX
    • Posts 541

    Re: DWT set up in Dreamweaver not working

    Hou about a url? I can look at the Dreamweaver created pages and see what's going on.

    BTW, if the DWT was created in Dreamweaver MX or later the syntax will be different from that of Expression Web and you will need to change hte editable region syntax from Dreamweaver to Expression.  Depending on the type of Dreamweaver DWT that was created that may be as simple as find/replace or as complex as having to redo the pages completely.

    Cheryl D Wise MS MVP Expression Instructor: starttoweb.com

  • 11-16-2007 7:14 PM In reply to

    Re: DWT set up in Dreamweaver not working

    OK it is

    www.flatironsvbc.com

     Thanks

  • 11-16-2007 8:02 PM In reply to

    • cdwise
    • Top 10 Contributor
    • Joined on 12-22-2006
    • Houston, TX
    • Posts 541

    Re: DWT set up in Dreamweaver not working

    There are Dreamweaver editable regions. This is the start template code in Dreamweaver:

    <!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->

    The first part of the head section is as follows:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <!-- InstanceBeginEditable name="doctitle" --> <!--This is the start of a Dreamweaver Editable Region -->
    <title>Flatirons Volleyball Club</title>
     <style type="text/css">
    <!--
    .style9 {font-family: Arial, Helvetica, sans-serif}
    -->
        </style> 
     <!-- InstanceEndEditable --><!-- This is the end of a Dreamweaver Editable Region -->

    You will need to replace those with Expression syntax. The good news is it should be a find/replace job but make a back-up of the site first and archive it just in case.

    Now, you really don't want me to critique your code but I'm going to make a few comments anyway.

    First, don't use the spacebar to move things over it is not a reliable method since spaces can change depending on the browser, visitor's settings and other factors beyond your control. Use margin or padding to put space between your items.

    Rather than have class="mrnu"><strong> redefine your class or make a different one that is the same plus font-weight: bold. That will clean up your code a lot.

    Second your text is way too small for anyone on a high resolution monitor. Your featured events is like reading the back of a medicine bottle when I view it on my computer. Both that section and the caption on your photo is simply not readable.

    Finally, you've done something funky with the line height in the announcment section. While the font is large enough to be comfortable to read it looks crowded.

    Cheryl D Wise MS MVP Expression Instructor: starttoweb.com

  • 11-16-2007 8:35 PM In reply to

    Re: DWT set up in Dreamweaver not working

    Thanks for taking the time to review the problem and critique the code for me.  Much appreciated! 

    I did not know there were compatibility issues between EW and some versions of DW.

     

     

     

  • 11-16-2007 8:59 PM In reply to

    • cdwise
    • Top 10 Contributor
    • Joined on 12-22-2006
    • Houston, TX
    • Posts 541

    Re: DWT set up in Dreamweaver not working

    It isn't a compatiblity issue, Expression DWTs will work in Dreamweaver but a few versions ago Dreamweaver changed the DWT syntax and added the ability to next DWTs, to have editable attributes inside of html elements and conditional regions.

    You get those feaures (more or less) along with some others if you use master pages in Expression. Master pages are nice because they do not require you to upload every file attached to the master in order to update the pages on the server but they require asp.net 2.0 to be on the server.

    Cheryl D Wise MS MVP Expression Instructor: starttoweb.com

  • 11-18-2007 12:05 PM In reply to

    Re: DWT set up in Dreamweaver not working

    OK thank you.
Page 1 of 1 (8 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems Sponsored by: Start to Web
@ 2005-2008 Cheryl D Wise