Dreamweaver rewriting cfincludes

Dreamweaver is rewriting my cfincludes from
<cfinclude template="mytemplate.cfm">
to:
<MM:BeginLock translatorClass="MM_SSI" type="ssi"
orig="%3Ccfinclude template=%22dsp_productDetail.cfm%22%3E"
fileRef="dsp_productDetail.cfm"><img src="file:///C|/Program
Files/Macromedia/Dreamweaver MX
2004/Configuration/ThirdPartyTags/ColdFusion.gif"><MM:EndLock>
How can I turn this off?
Thanks.

Man this is an old problem! I have this situation right now,
it probably wont do any good to post another message at this
point!

Similar Messages

  • Dreamweaver rewriting spry:if statements

    I keep having a problem with Dreamweaver rewriting manually
    created Spry select list code.
    Example of the code as it should be:
    <select name="orgSelect" id="orgSelect"
    onchange="document.forms['frmSupportReq'].groupSelect.disabled =
    true;dsOrg.setCurrentRowNumber(this.selectedIndex);"
    spry:repeatchildren="dsOrg">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{name}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    Dreamweaver rewrites it, breaking it (below is a sample of
    the most recent break):
    <select name="orgSelect" id="orgSelect"
    onchange="document.forms['frmSupportReq'].groupSelect.disabled =
    true;dsOrg.setCurrentRowNumber(this.selectedIndex);"
    spry:repeatchildren="dsOrg">
    <option spry:if="{dsOrg::ds_RowNumber} ==
    {dsOrg::ds_CurrentRowNumber}" value="{dsOrg::name}"
    selected="selected">{dsOrg::name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    Dreamweaver has rewritten the code in several different ways
    over the last two days for this particular item (which is the first
    part of a master/detail double select set).
    This is getting very irritating.
    Has anyone else had a similar problem? If so, has anyone
    found a way to STOP Dreamweaver from breaking the Spry code?
    I would appreciate suggestions on how to break Dreamweaver of
    this annoying habit.
    Thanks.
    Skip Keats

    Donald:
    I am not certain if I can 'reproduce' it, per se, as the
    occurrences do not follow any particular pattern, except what
    Dorfadobe notes -- switching between code/split and design views.
    All pages have at least one Spry-generated select list (used
    as a jump menu). Many have more. The code noted above is part of an
    actual form (rather than a jump menu system).
    What I have noticed is that Dreamweaver does not seem to
    change any code created by itself from design view. It only seems
    to change code that is manually created in code view. (On a
    separate note, it keeps trying to delete conditional validation
    that I am creating for the same form -- you know, 'if yes, then
    this field is available (and must validate)' type thing.
    My question: Could it be that Dreamweaver is somehow
    internally programmed to force conformance to its design view
    'widgets' in some way? If so, this is a serious problem as the
    widgets are rather limited in comparison to what can be done via
    hand-coding.
    Skip Keats

  • Dreamweaver rewriting my page directives

    Hi there all,
    Quite a straightforward question here. I'm in the position
    where I'm having
    to use both Dreamweaver (CS4) and Microsoft Visual Studio
    2008 to create an
    asp.NET application.
    VS2008 for the coding part and Dreamweaver for everything
    else, mainly
    because I prefer the Dreamweaver interface for building and
    styling a site.
    I'm also using the templates mechanism within Dreamweaver to
    manage the
    site.
    The problem is when I make a global change to a template
    Dreamweaver keep
    defaulting my page directives on all my site pages thus
    breaking the
    code-behind link between .aspx page and .vb files.
    How can I stop Dreamweaver messing with the page directives?
    Would be most grateful for some guidance please.
    Cheers,
    @ndyB

    Good luck. Let us know how it goes.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "@ndyB" <[email protected]> wrote in message
    news:[email protected]...
    > Nice one.
    > Thanks Murray, I'll give it a go.
    >
    > @
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> It should do so, yes. You would have to change the
    contents of that
    >> construction, of course, but anything within @@('
    and ')@@ will not be
    >> touched.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >> ==================
    >>
    >>
    >> "@ndyB" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> Thanks Murray,
    >>>
    >>> Will that stop Dreamweaver touching the
    directives altogether? Because
    >>> they are different from page to page you see.
    >>>
    >>> Cheers,
    >>>
    >>> @
    >>>
    >>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> OK - and this is above the doctype, right?
    >>>>
    >>>> Try this -
    >>>>
    >>>> @@('<%@ Page Language="VB"
    AutoEventWireup="false"
    >>>> CodeFile="stage4.aspx.vb"
    Inherits="_Default"
    >>>> enableViewStateMac="False" %>')@@
    >>>>
    >>>> in the Template file and see if that helps!
    >>>>
    >>>> --
    >>>> Murray --- ICQ 71997575
    >>>> Adobe Community Expert
    >>>> (If you *MUST* email me, don't LAUGH when
    you do so!)
    >>>> ==================
    >>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>> ==================
    >>>>
    >>>>
    >>>> "@ndyB" <[email protected]> wrote
    in message
    >>>> news:[email protected]...
    >>>>> Something like
    >>>>>
    >>>>> <%@ Page Language="VB"
    AutoEventWireup="false"
    >>>>> CodeFile="stage4.aspx.vb"
    Inherits="_Default"
    >>>>> enableViewStateMac="False" %>
    >>>>>
    >>>>> Gets changed back to
    >>>>>
    >>>>> <%@ Page Language="VB"
    ContentType="text/html"
    >>>>> ResponseEncoding="utf-8" %>
    >>>>>
    >>>>> Cheers,
    >>>>>
    >>>>> @
    >>>>>
    >>>>>
    >>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> SHow us an example of your page
    directives that get rewritten,
    >>>>>> please.
    >>>>>>
    >>>>>> --
    >>>>>> Murray --- ICQ 71997575
    >>>>>> Adobe Community Expert
    >>>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>>> ==================
    >>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>> ==================
    >>>>>>
    >>>>>>
    >>>>>> "@ndyB" <[email protected]>
    wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>> Hi there all,
    >>>>>>>
    >>>>>>> Quite a straightforward question
    here. I'm in the position where I'm
    >>>>>>> having to use both Dreamweaver
    (CS4) and Microsoft Visual Studio
    >>>>>>> 2008 to create an asp.NET
    application.
    >>>>>>> VS2008 for the coding part and
    Dreamweaver for everything else,
    >>>>>>> mainly because I prefer the
    Dreamweaver interface for building and
    >>>>>>> styling a site. I'm also using
    the templates mechanism within
    >>>>>>> Dreamweaver to manage the site.
    >>>>>>>
    >>>>>>> The problem is when I make a
    global change to a template Dreamweaver
    >>>>>>> keep defaulting my page
    directives on all my site pages thus
    >>>>>>> breaking the code-behind link
    between .aspx page and .vb files.
    >>>>>>>
    >>>>>>> How can I stop Dreamweaver
    messing with the page directives?
    >>>>>>>
    >>>>>>> Would be most grateful for some
    guidance please.
    >>>>>>>
    >>>>>>> Cheers,
    >>>>>>>
    >>>>>>> @ndyB
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>
    >>>>
    >>>
    >>
    >

  • Dreamweaver rewrites path in CSS File

    hi
    we are using 2 DW cs4 versions here over the network. When the css file is edited on the second machine it rewrites the path to the images
    from  ../images/content_top.jpg  to
    url(file://///peter_main/wwwroot/netelo/images/content_top.jpg
    and so on in the css file.
    the file can than not be saved on the machine its edited on because the css file contains invalid characters ???
    anyone has seen this and has a fix ?
    Thanks

    dragsternj wrote:
    hi
    we are using 2 DW cs4 versions here over the network.
    When you say this, do you mean that you are both working on the same local site, which is actually on a remote, shared network drive?
    from  ../images/content_top.jpg  to
    url(file://///peter_main/wwwroot/netelo/images/content_top.jpg
    This is typically what happens when DW thinks that you are either saving the current file outside of the local root folder, or when you are linking to a file that is outside of the local root folder.  What does the site definition for this site look like from each of the two computers (with regard to the path to the local root folder)?  And is that a space between "peter" and "main"?
    the file can than not be saved on the machine its edited on because the css file contains invalid characters ???
    anyone has seen this and has a fix ?
    Huh?  This is an error you are getting from DW?  We'd need to see the file.  Can you post a link to the page, please.

  • Dreamweaver rewriting spry:region

    When I save a template that contains a Spry dataset and
    region, Dreamweaver changes the region to "datasetname function".
    When the template loads the code is:
    spry:region="dsAirsale"
    when I save the file, it becomes:
    spry:region="dsAirsale function"
    Why?

    I've never seen/heard of this problem. Do you have a sample
    file we can look at to reproduce the problem? Are you talking about
    saving the .dwt file? Or an HTML file that is an instance of the
    template? Is the spry:region inside an editable region?
    --== Kin ==--

  • How can I keep Dreamweaver from re-writing my code?

    How can you stabilize your code so Dreamweaver leaves it as
    you wrote it? I get it right, then dreamweaver rewrites it wrong. I
    fix it, then dreamweaver 'fixes' it and it's wrong again. I've done
    this over and over and can't get the code I wrote to stick.

    That would sure be the ticket.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Walt F. Schaefer" <[email protected]> wrote in
    message
    news:[email protected]...
    >I think your original code is invalid. You start a form
    inside a table cell
    >(<td>) but your form closing tag (</form>) is
    outside that table cell. I
    >don't believe that is allowed. DW is merely moving the
    misplaced (</form>.
    >
    > --
    >
    > Walt
    >
    >
    > "moabyte" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> Thank you all for replying! I can't keep Dreamweaver
    from putting in
    >> small
    >> changes that make a cgi form quit working. It works
    in the 'before'
    >> stage,
    >> below, but doesn't work either after sending to
    remote server, or maybe
    >> it's
    >> after closing Dreamweaver and reopening. It has
    happened numerous times
    >> and for
    >> a while I thought I was crazy, but finally I
    realized Dreamweaver is
    >> doing
    >> this. When I reopen the document, it has changes as
    'after' below.
    >>
    >> Under 'code rewriting' in Preferences, the "never
    rewrite code' option is
    >> grayed out. Is that the spot where you turn it off
    or is it somewhere
    >> else?
    >>
    >> You can view the 'finished' page, but with cgi form
    that doesn't work
    >> (because
    >> I can't get Dreamweaver to leave it alone) here:
    >>
    http://www.slickrock.com/adventureisland.html
    >>
    >> Many Many thanks.
    >>
    >>
    >>
    >> Before:
    >>
    >> <table border="0" width="212"
    class="datestable">
    >> <tr>
    >> <th colspan="2" scope="col"><div
    align="center">Get Belize
    >> Travel
    >> Specials</div></th>
    >> </tr>
    >> <tr class="alternate">
    >> <td colspan="2"><p align="center"
    >> class="datestablebold">$50-off
    >> coupon in every
    >> newsletter! We notify you as soon as we put a trip
    on
    >> sale</p></td>
    >> </tr>
    >> <tr class="alternate">
    >> <td><p>E-Mail
    Address</p></td>
    >> <td><!--text to make a form work-->
    >> <form name="formmail"
    action="/cgi-bin/formmail/formmail.cgi"
    >> method="post" >
    >> <input type=hidden name="recipient"
    >> value="[email protected]" >
    >> <input type=hidden name= "subject"
    value="Specials Sign-up from
    >> the
    >> Adventure Island page" >
    >> <!--end of top of form-->
    >> <p>
    >> <input type="text" name="email" value="E-Mail
    Address"
    >> onfocus="this.value=''" size="16" >
    >> </p>
    >> </td>
    >>
    >> </tr>
    >>
    >> <tr class="alternate">
    >> <td><p>First/Last
    Name</p></td>
    >> <td><input type="text" name="Name"
    value="First and Last Name"
    >> onfocus="this.value=''" size="16"> </td>
    >> </tr>
    >>
    >> <tr class="alternate">
    >> <td></td>
    >> <td><input type="submit" name="Submit"
    value="Sign up!">
    >> <!--text end of form-->
    >> <input type="hidden" name="redirect"
    >> value="
    http://www.slickrock.com/thankyouspecial.htm"></form>
    >> <!--text end of form end--> </td>
    >> </tr>
    >> </table>
    >>
    >>
    >> After:
    >> <table border="0" width="212"
    class="datestable">
    >> <tr>
    >> <th colspan="2" scope="col"><div
    align="center">Get Belize Travel
    >> Specials</div></th>
    >> </tr>
    >> <tr class="alternate">
    >> <td colspan="2"><p align="center"
    class="datestablebold">$50-off
    >> coupon
    >> in every
    >> newsletter! We notify you as soon as we put a trip
    on
    >> sale</p></td>
    >> </tr>
    >> <tr class="alternate">
    >> <td><p>E-Mail
    Address</p></td>
    >> <td><!--text to make a form work-->
    >> <form name="formmail"
    action="/cgi-bin/formmail/formmail.cgi"
    >> method="post" >
    >> <input type=hidden name="recipient"
    >> value="[email protected]" />
    >> <input type=hidden name= "subject"
    value="Specials Sign-up
    >> from
    >> the Adventure Island page" />
    >> <!--end of top of form-->
    >> <p>
    >> <input type="text" name="email" value="E-Mail
    Address"
    >> onfocus="this.value=''" size="16" />
    >> </p>
    >> </form></td>
    >> </tr>
    >> <tr class="alternate">
    >> <td><p>First/Last
    Name</p></td>
    >> <td><input type="text" name="Name"
    value="First and Last Name"
    >> onfocus="this.value=''" size="16" /> </td>
    >> </tr>
    >> <tr class="alternate">
    >> <td></td>
    >> <td><input type="submit" name="Submit"
    value="Sign up!" />
    >> <!--text end of form-->
    >> <input type="hidden" name="redirect"
    >> value="
    http://www.slickrock.com/thankyouspecial.htm"
    />
    >> <!--text end of form end--> </td>
    >> </tr>
    >> </table>
    >>
    >
    >

  • Dreamweaver is rewriting code and I can't stop it!

    I have a PHP file with some XML defined within that is has
    code rewritten every time I open the file. I've gone into Edit >
    Preferences and I've disabled every single box. Also, .php is in
    the list of extensions to NEVER rewrite code. Yet it keeps turning
    bits of code like this:
    <UnitOfMeasurement>
    <Code>$UPS_wunit</Code>
    </UnitOfMeasurement>
    Into this:
    <UnitOfMeasurement>
    <code>$UPS_wunit</code>
    </UnitOfMeasurement>
    This is beyond annoying and basically renders Dreamweaver
    useless. I have to use Notepad instead. Any advice???

    On Mon, 13 Nov 2006 23:17:36 +0000 (UTC), "thedust2020"
    <[email protected]> wrote:
    > This is beyond annoying and basically renders
    Dreamweaver useless. I have to
    >use Notepad instead. Any advice???
    Presumably, it's rewriting the case of tags it recognizes.
    Try
    Edit->Preferences->Code Format, uncheck Override case
    of tags and
    attributes.
    Gary

  • Dreamweaver CC 2014.1 Rewriting my ColdFusion Code

    This has been an intermittent issue throughout the versions of Dreamweaver, but it's definitely back in Dreamweaver CC 2014.1.  When opening ColdFusion templates (.cfm files) sometimes Dreamweaver will rewrite some of the code - often completely removing some of my closing tags (today it just removed a </cfoutput> tag) when I open the file in code view (I don't even use design view).  It's gotten very dangerous for me to make ANY changes to my sites as sometimes simply opening the remote file and re-saving it breaks the site because of this rewriting!  I have all the code rewriting preferences unchecked and can't find anywhere else to tell Dreamweaver to LEAVE MY CODE ALONE!  Anyone else having issues with Dreamweaver being too helpful in trying to do your job for you?  Some of these files are quite complex, long templates and pouring over them to track down what Dreamweaver did to my code is ridiculous.  It was bad enough when adobe dropped support for ColdFusion extensions in the latest versions of Dreamweaver, but now I can't use it at all because of this and they don't even have an alternative coding product in the creative suite - you have to buy en entirely new product ColdFusion Builder to work with these pages.  Next stop: Notepad!

    I ended up going back to the previous version (Dreamweaver CC) as that version doesn't seem to have the same coding bug as CC 2014.1.  Thank goodness Adobe rolled out the new version as a standalone rather than upgrading my older version!  Time to start looking for a new coding IDE, I guess.  Thanks @Nancy O. for the CF Eclipse and Sublime Text suggestions - I haven't figured out how to set up local/remote projects in eclipse yet the same way I had it working in Dreamweaver, but so far it's been just as effective a tool (and hasn't screwed up my code, either!).

  • Dreamweaver CS6 Rewrites My Code!!!

    Sigh. I just upgraded to Dreamweaver CS6 Creative Cloud, hoping it would solve the code rewriting issues added in CS5.5.
    No joy. Take a look at the following code fragment:
    <input type="text" name="getEmailAddress()" size="40" required="1" validate="email" message="Please enter your email address." />
    Thing is, this is NOT HTML. This is part of an XML definition of a form, embedded within a CFC. Whenever CS6 gets its grubby little paws on it, however it changes it to this:
    <input type="text" name="getEmailAddress()" size="40" required validate="email" message="Please enter your email address." />
    Note the required="1" attribute is now simply required. Which blows up the XML parser big time.
    This, just when I was getting around to writing a post about how, after THREE versions (CS3, CS4, CS5), Adobe finally got around to fixing the code rewriting bug I originally posted back in March, 2008.
    I've tried changing doctypes, turned off rewriting in preferences, and done pretty much eveything I could think of, AND DREAMWEAVER STILL REWRITES MY CODE! I was told in CS5.5 that Dreamweaver will perform these kinds of changes based on the presence of a doctype specification...
    But why is doing it in a ****ing CFC?????? Am I supposed to add doctype's to my CFC's now?
    Look, Adobe, I'm a professional. I know what I'm doing, and when I put text to a file, I expect it to remain exactly as written. I do NOT need you "improving" my code.
    Especially when "improving" my code BREAKS MY CODE.
    Please provide a "hands off" option, and HONOR it.
    I need Dreamweaver because I need RDS access to some sites. If it were not for RDS access, I would drop this piece of grief and aggravation in a heartbeat.
    I wonder how many years I'm going to have to wait to get THIS fixed...

    > I do NOT want it doing that.
    Why? It's the right thing to do. Anyhow, PREFERENCES >
    Code Rewriting,
    might be what you are looking for.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "kavakava" <[email protected]> wrote in
    message
    news:f87hhh$rro$[email protected]..
    > Hi,
    >
    > I have a number of affiliate links, and they all have
    the "&" character in
    > them. However, Dreamweaver keeps replacing them with
    "&amp;". I do NOT
    > want it
    > doing that.
    >
    >
    > I am using Dreamweaver 8.0.
    >
    > Many thanks!
    >

  • Can't stop Dreamweaver CS5.5 from rewriting code

    I just recently installed Dreamweaver CS5.5 and when I load one of my documents, it immediately replaces the following attribute:
    readonly="readonly"
    with just the following:
    readonly
    How do I get it to stop?  I've tried going into preferences and turning off all code rewriting features but that does not seem to work.

    Hi, Maxim. Welcome to the Adobe user-to-user forums!
    Sorry to hear you are having trouble getting Dreamweaver to open.
    I suggest that you use the information in the following document to help resolve the issue:
    http://adobe.ly/KB82744
    If you need further help, you may consider contacting tech support (there's free support for the kind of issue you are having):
    http://adobe.ly/ContactSupport
    HTH!

  • Dreamweaver templates rewriting paths incorrectly

    I have an odd problem running DW8 on a Mac. We use templates
    extensively and our template manages our "printer friendly" version
    of the page by removing page elements when the user clicks on the
    link.
    Ok, so here's my problem. When I tell DW8 to "Update from
    template" if that printer-friendly code is active, DW8 rewrites the
    path.
    Example of our code:
    <div class="pfv">
    <!--#if expr="$QUERY_STRING != /^printpage/" -->
    <a href="?printpage">Printer-friendly
    version</a>
    <!--#endif -->
    </div>
    When this feature is turned on by the template and I update
    the page from the template, the code gets re-written like this:
    <div class="pfv">
    <!--#if expr="$QUERY_STRING != /^printpage/" -->
    <a href="../Templates/?printpage">Printer-friendly
    version</a>
    <!--#endif -->
    </div>
    This effectively generates a bad URL causing a 404. Now, this
    link to the printer friendly version of the page is in a locked
    part of the page so I cannot change it in Dreamweaver once it has
    been corrupted. I can only undo updating from the template or use a
    text editor to correct it.
    Does anyone have an idea how to correct this or prevent DW
    from rewriting the path in the locked code?
    Anyone have a clue on this one?
    Thanks!
    -Adam

    Ok folks, I found the solution. I had the 8.01 update
    installed but not 8.02. I Installed the 8.02 update and went to
    "Manage Sites" and (advanced mode) selected the new "Templates"
    tab. With the checkbox enabled for "Don't rewrite document relative
    paths" DW8 no behaves correctly.
    Woohoo!

  • Adobe Dreamweaver is rewriting code... again.

    http://www.cfinternals.org/blog/2012/02/dreamweaver-cs55-rewrites-code-again.html
    I just upgraded from Dreamweaver CS5 to CS5.5, as I needed to cross-grade to the Design Suite in order to get InDesign.
    Everything was going swimmingly, until I ran across the following. Take a look at the following code fragment:
    <input type="text" name="getEmailAddress()" size="40" required="1"validate="email" message="Please enter your email address." />
    Thing is, this is NOT HTML. This is part of an XML definition of a form, embedded within a CFC. Whenever CS5.5 gets its grubby little paws on it, however it changes it to this:
    <input type="text" name="getEmailAddress()" size="40" required validate="email" message="Please enter your email address." />
    Note the required="1" attribute is now simply required. Which blows up the XML parser big time.
    This, just when I was getting around to writing a post about how, after THREE versions (CS3, CS4, CS5), Adobe finally got around to fixing the code rewriting bug I originally posted back in March, 2008.
    I've tried changing doctypes, turned off rewriting in preferences, and done pretty much eveything I could think of, AND DREAMWEAVER STILL REWRITES MY CODE!
    Look, Adobe, I'm a professional. I know what I'm doing, and when I put text to a file, I expect it to remain exactly as written. I do NOT need you "improving" my code.
    Especially when "improving" my code BREAKS MY CODE.
    Please provide a "hands off" option, and HONOR it.
    I wonder how many years I'm going to have to wait to get THIS fixed...

    I don't care if it's known or not. I want it FIXED. I want Dreamweaver to stop rewriting my code. The fact is that these kinds of behaviors have been "known" since CS3... and they have gone on for years... and they are ALL unacceptable.
    And why is Dreamweaver performing these kinds of changes based on the presence of a doctype specification... in a CFC??????
    One other thing. I saw your comments on this in another thread, and the one that got me was the one that said, "And this is a problem how?"
    Like I said above, we are professionals. Dreamweaver is supposed to be a tool for professionals. We know what we're doing, and when we write code, we expect it to remain exactly as written, unless we specifically ask for it to be reformatted. We do NOT need Dreamweaver silently cleaning up or "improving" our code. Doing so is not a feaure. It is not a benefit.
    Especially when it breaks it in the process.
    You can pass THAT along too.

  • Stop Dreamweaver CS3 rewriting my code

    I dearly hope one of you lovely people can help me as this program is driving me nuts!
    I need to find a way of stopping Dreamweaver CS3 from rewriting my code. I know it's a good thing for it to check for errors (unclosed tags, etc) and I have no problem with that, but what I need to stop is the way Dreamweaver keeps running closing tags on to the end of the previous line!
    For example, I type:
    <div>
        <div>
            <a href="link">
                <img src="piccy" />
            </a>
        </div>
    </div>
    which is lovely and structured and, above all, easy to read, but as soon as I edit an element's propery, Dreamweaver makes it:
    <div>
        <div>
            <a href="link">
                <img src="piccy" />        </a>    </div>
    </div>
    which is so annoying!
    I've tried turning off all code rewriting in the preferences, but to no avail.
    Please can someone save what little hair I have left?
    Thanks in desperation
    Peter

    I guess my problem is not directly related to yours after all, as I discovered a hack to live with DW's bad behavior in my case. I found this when I used DW to try to collapse the tags that were getting fouled up and seeing it not know exactly what to do.
    The solution below tricks DW into thinking that my HTML tags are all nested properly, and it no longers rewrites the code in my CFC's function. Because nesting fixed it, I'm guessing the original poster's spacing issue is unrelated.
    Nevertheless, here's what I did:
    <cffunction ... >
        <cfset var strHTML = "">
            <!--- a memorable and always false condition --->
        <cfset var hellfreezesover = False>
        <cfsavecontent variable="strHTML">
        <ul>
            <li>first level
            <!--- Trick DW into submission --->
            <cfif hellfreezesover></li></ul></cfif>
            <cfloop ...>
                <!--- Trick DW into submission --->
                <cfif hellfreezesover><li></cfif>
                <cfif closeit>
                    </li>
                <cfelse>
                </cfif>
            </cfloop>
            <!--- Trick DW into submission --->
            <cfif hellfreezesover><ul><li></cfif>
            </li><!--- close last open li --->
        </ul>
        </cfsavecontent>
        <cfreturn strHTML>
    </cffunction>

  • Can I use the website I created in Dreamweaver in iWeb?

    Good morning fellow Mac users,
    I created my own website using Dreamweaver and I was wondering if I could use it in iWeb to publish it to Apple's server? I can't seem to find an answer for this anywhere. I would really like to use the content I have already created instead of a template that has already been created.
    Also, I'm not sure if this will be an issue, but I have created a flash intro for my site as well. I would appreciate any helpful on this that any of you might have. Thank you.
    AMMOCAN

    Nope, you can't. You'd have to copy and paste it over manually, or rewrite/design.

  • Design View Issue Dreamweaver CS4 - Taking forever to load design view

    I am having an issue where my site takes literally almost a full day to load in design view. Once it is loaded everything works seemlessly but once I close down Dreamweaver and reopen it, I have to wait another day to get to design view of my site. All files open just fine in code view.
    I have deleted the Dreamweaver CS4 cache folder, completely formatted my drive and reinstalled creative suite. I have also validated my code on W3c and everything checks out fine.
    The majority of my site is based off of a template, but even when I remove all the template references in the html files from Notepad I am still having the same issue. My site renders fine and quickly however on Explorer, Firefox, Chrome, and Safari.
    When loading any other site off the web into Dreamweaver I do not run into the problem so there must be something wrong with how my site is set up. Either the Template file is no good or somewhere else I am falling short. Can someone, please, please, please ( I am begging) help me figure out what is going on here.
    My index file is located at - http://www.thebluedot.net/index.html and the template file is located at - http://www.thebluedot.net/Templates/index.dwt
    I have searched high and low and even made a post on this same topic about a month ago but never came up with a resolution to my issue. I had given up on finding a solution to this problem for some time, but I really need to figure out where I am going wrong here!
    Additional Details -
    I am running - Windows Vista Ultimate on a Core 2 Processor with 12 GB of Ram & Solid State Hard Drive. Everything on my system runs super smoothly except loading my site in Dreamweaver CS4 design view.
    I really appreciate any help you can provide.

    I have used CS2 Adobe GoLive to create and manage a website (pro-prosperity.com).  Now, I have CS4 Dreamweaver.  I got a new site set up on Dreamweaver using the site management facility.  I then have the contents of website available locally on Dreamweaver.  I can edit files.  But the main home page, index.html, is not displaying on design view mode for editing, although it displays everything on live view mode.  I have struggled for days and am not getting any difference in attributes of index.html and another .html that is displaying fine on design view and is editable. 
    I am really lost and am begging for any help.  Can you, for example, copy the home page from pro-prosperity.com and display on design view and edit it?  Please tell me what is in this file that is troublesome.  Thanks.
    The first thing you should do is to make sure that this feature is turned on (it's off by default):
      View > Code View Options > Highlight Invalid Html
    It's not perfect, but it will notify you of some problems. In Code View, there are many problems highlighted. Some of them don't make sense, but are triggered because of a problem with a parent tag.
    Be sure to make a backup copy of your file before doing the next step. Close your page. Go to Preferences > Code Rewriting, and turn on "Fix invalidly nested and unclosed tags", "Remove extra closing tags", and "Warn when fixing or removing tags". Click OK, then re-open your page. The messages in the dialog to tell you what was changed. This allowed me to see your page in Design View (I am using CS5).
    Note: I suggested that you reset your preferences to turn off those 3 settings as they can cause problems with some markup.
    In the long term, I suggest that you avoid nesting tables wherever possible.
    Hope this helps,
    Randy

Maybe you are looking for

  • Java.lang.Exception: Exception in sending Request :: null on Windows7 64bit

    Dear All, I have installed Oracle 10g 32-bit on Windows 7 64-bit Ultimate Edition. After setting ORACLE_HOME and ORACLE_SID environment variables. Oracle connected to sqlplus fine. But when starting Enterprise Manager in browser following error displ

  • Aperture 3.1 uses Facebook captions as Version Names

    Not sure whether this has happened due to the u/g to 3.1, but while still running 3.0.3 I exported a set of photos to Facebook. By default, the Caption shown in FB is the filename (version name). *In FB* I edited the captions but now Aperture is usin

  • Select one among multiple record

    Dear all, how can i create a select statement which returns only one record if there are the same values in tkn and numero column? Table ROSE TKN NUMERO 75684523 4523 75684523 4523 75684523 4523 Thank you,

  • Dreamweaver CS6 crashes shortly after opening any document

    I'm using a new install of CS 6 on OS X 10.7.4, and the program opens and closes fine unless I open a document - I've tried HTML, PHP, and CSS. Any time between immediately and about 1 minute thereafter, DW crashes. It's in either code or split view.

  • Revolving videos in keynote for website publishing

    I want to publish various short testimony videos by customers on our website. I put each on a different slide and set the presentation on self-playing. The result I want is that the slides are looped so that visitors can see the revolving poster fram