ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Setting up EE with Dreamweaver Live Data

December 06, 2007 4:34pm

Subscribe [2]
  • #1 / Dec 06, 2007 4:34pm

    Varen

    150 posts

    Hi all,

    I’m wondering if anyone knows how to setup EE with Dreamweaver Live Data? I normally use Coda for live previewing of my EE templates but I’m now working on a project that is forcing me to use Dreamweaver and I can’t figure out how to view rendered EE templates in DW. I know it’s possible but can’t figure out how?

    Varen

  • #2 / Apr 24, 2008 5:07am

    purefusion

    29 posts

    Just a quick update on this capability, I know it’s been a while.

    The original EllisLab blog post and forum discussion thread detail how to setup your .htaccess files correctly for this functionality.

    On Dreamweaver’s end, I finally found out how to get it working, and posted the details in that original discussion thread.

    Here’s a quote:

    Here’s the much anticipated update on how to get it working in Dreamweaver (CS3).

    First, you have to get your .htaccess file working properly. Test in your browser before proceeding.

    Second, you have to download and install the Live Preview extension by Thomas Muck.

    This extension will show a “Server Debug” button next to the Live Data View button above the document window. Clicking the button will allow you to preview the current document in the design window, rather than use an external browser. The extension is shoe-horned into the Server Debug functionality that was implemented ONLY for the ColdFusion server model but left dormant for the other server models. This extension adds Live Preview functionality to ASP, ASP.NET, PHP, and JSP.

    Third, use the “Server Debug” button, which should now appear next to your Code|Split|Design view-switching buttons when your .php template files are open.

    After you install the extension, start up Dreamweaver and open any of your template files (one that you successfully tested in your browser, of course). You should now see two icons directly to the right of the Code|Split|Design view buttons: “Live Data View” and “Server Debug”. Whenever you want to preview the design, use the “Server Debug button”. If you try to use the “Live Data View” button, you’ll get the following error: “The testing server did not execute any of the scripts in your document.” This is because “Live Data View” is only used for executing scripts in your document, not previewing the live page in your design view.

    Hope this helps! Took me eons to get it working, but I’m glad it does now. :coolsmile:

  • #3 / Apr 24, 2008 12:20pm

    Varen

    150 posts

    purefusion

    Thanks for sharing that. I’ll check it out!


    😊

  • #4 / Apr 24, 2008 11:47pm

    purefusion

    29 posts

    No problem. Here’s a link to the extension directly: http://www.tom-muck.com/extensions/help/livepreview/

    Update: This extension is no longer required for Dreamweaver CS4 (see below for link to beta)

  • #5 / May 29, 2008 1:36pm

    purefusion

    29 posts

    Time to spread good cheer:

    Adobe has released Dreamweaver CS4 Beta. So far, it’s pretty wowsome. But I want to mention it here specifically because it now has native support for PHP in the live view. Not only that, but the live view has some definite improvements.

    On top of that, it sports fancy adobe ui now, has the ability to edit linked files directly in the code view without opening new documents, has a nifty new code navigator which makes it easy to get right to the CSS rule or JS related to any element on the page, and several other cool things.

    Check it out:

    http://labs.adobe.com/technologies/dreamweavercs4/ 😊

    - Scott

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases