Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts

    Thumbs down preview templates in dreamweaver, I only see code in the browser

    When I preview templates in dreamweaver I only see code in the browser. It used to be that I got a proper page preview. Can anyone explain what could cause this?


  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Is the code syntax highlighted? If its not then its likely you are just using a text document rather than an actual html file.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    Well the extension is .dwt

    The annoying thing is that it used to work fine when previewing with templates.

    Or maybe it was just my imagination. Maybe it was just looking at the page and pressing f5 when I saved the template but I don't think that was the case.


  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Apply the template to an html page and just preview that.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    yeah I suppose

    cheers again mate appreciate the time


  • #6
    Regular Coder
    Join Date
    Mar 2007
    Location
    Quebec
    Posts
    261
    Thanks
    6
    Thanked 7 Times in 7 Posts
    yeah I found Dreamaweaver's preview is not to be trusted. What looked fine in Dreamweaver, looked TERRIBLE in a real browser, and vice versa. Also sometimes I find Dreamweaver doesn't load images (preview again) but they show up in Firefox.

  • #7
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    yeah , you have to take the good with the bad. I still depend on dreamy though


  • #8
    Regular Coder
    Join Date
    Apr 2006
    Posts
    186
    Thanks
    21
    Thanked 6 Times in 6 Posts
    What version of dreamweaver you using? My preview works fine for firefox, but it doesn't load for IE. Sometimes certain things won't show because it uses the wrong path since it creates it in the templates folder.

  • #9
    Regular Coder Actinia's Avatar
    Join Date
    Feb 2007
    Location
    Essex, UK
    Posts
    250
    Thanks
    1
    Thanked 23 Times in 22 Posts
    You can select your template file ...dwt, right click and choose 'open with', then select your browser.

    If you want to do this regularly, you can use File Options on the .dwt files to give your browser as an option when you right click.

    John Rostron

  • #10
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    version cs3


  • #11
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    If I open with firefox by right clicking in dreamweaver it works fine, but if I press F12 (preview in firefox) it doesn't work.

    btw what do you mean by file options


  • #12
    Regular Coder Actinia's Avatar
    Join Date
    Feb 2007
    Location
    Essex, UK
    Posts
    250
    Thanks
    1
    Thanked 23 Times in 22 Posts
    btw what do you mean by file options
    Sorry, I should have said Tools, Folder Options, File Types, from the blue top menu bar in Windows explorer.

    John Rostron


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •