Template Bug? Not sure where to post. I have a sample.

It seems that Dreamweaver 2004 MX (version 7.0.1 on Windows
XP) gets confused if you create a page with invalid HTML. I've seen
some other posts on this, but I'm not sure if it's been fixed.
If you do the following, you'll get the popup warning "You
have made changes to code that is not marked as editable.. blah
blah blah" even though you did not make changes to uneditable
regions.
1. Make a remote site with a local web directory. On my
machine, I run Apache (
http://localhost), treat it as a
remote site, and copy files to Apache's local directory.
2. Create a template with 1 editable region: EditRegion3
3. Create a page using the template.
4. Enter in a <form> </form>tag and some text.
5. Select Put for the file.
Works fine at this point.
To invoke the bug:
1. Remove the </form> tag.
2. Select put.
3. The InstanceBeginEditable name="EditRegion3" tag turns
color: from gray to black.
4. Close and reopen the file.
5. Make a minor edit.
6. Select Put.
7. Presto - warning dialogue shows.
I attached both versions. By the way, I was able to "fix" the
broken edit region by closing (not saving changes) and reopening
the file, adding back the missing </form> and saving. Then
Put works with no error message.

So lemme understand this. If you hack a page so that it
contains invalid
code, you get a template error? Is that a surprise?
Anyhow, there are several workarounds, and I see that you
have found one.
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
==================
"fred_sl" <[email protected]> wrote in
message
news:[email protected]...
> It seems that Dreamweaver 2004 MX (version 7.0.1 on
Windows XP) gets
> confused
> if you create a page with invalid HTML. I've seen some
other posts on
> this, but
> I'm not sure if it's been fixed.
>
> If you do the following, you'll get the popup warning
"You have made
> changes
> to code that is not marked as editable.. blah blah blah"
even though you
> did
> not make changes to uneditable regions.
>
> 1. Make a remote site with a local web directory. On my
machine, I run
> Apache
> (
http://localhost), treat it as a
remote site, and copy files to Apache's
> local
> directory.
> 2. Create a template with 1 editable region: EditRegion3
> 3. Create a page using the template.
> 4. Enter in a <form> </form>tag and some
text.
> 5. Select Put for the file.
>
> Works fine at this point.
>
> To invoke the bug:
> 1. Remove the </form> tag.
> 2. Select put.
> 3. The InstanceBeginEditable name="EditRegion3" tag
turns color: from gray
> to
> black.
> 4. Close and reopen the file.
> 5. Make a minor edit.
> 6. Select Put.
> 7. Presto - warning dialogue shows.
>
> I attached both versions. By the way, I was able to
"fix" the broken edit
> region by closing (not saving changes) and reopening the
file, adding back
> the
> missing </form> and saving. Then Put works with no
error message.
>
>
>
> // VALID HTML
>
> //////////////////////
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <html><!-- InstanceBegin
template="/Templates/Test.dwt.php"
> codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <!-- InstanceBeginEditable name="doctitle" -->
> <title>Admin - Image Upload</title>
> <!-- InstanceEndEditable -->
> <!-- InstanceBeginEditable name="head" -->
> <!-- InstanceEndEditable -->
> </head>
>
> <body>
> <!-- InstanceBeginEditable name="EditRegion3" -->
>
> <form method="POST" enctype="multipart/form-data">
> <table>
> <tr><td>Image
File</td><td><input type="file"
name="FileName"></td></tr>
> <tr><td colspan="2"><input type="submit"
name="Submit"></td></tr>
> </table>
> </form>
>
> <!-- InstanceEndEditable --></body>
> <!-- InstanceEnd --></html>
>
> // INVALID HTML
>
> //////////////////
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <html><!-- InstanceBegin
template="/Templates/Test.dwt.php"
> codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <!-- InstanceBeginEditable name="doctitle" -->
> <title>Admin - Image Upload</title>
> <!-- InstanceEndEditable -->
> <!-- InstanceBeginEditable name="head" -->
> <!-- InstanceEndEditable -->
> </head>
>
> <body>
> <!-- InstanceBeginEditable name="EditRegion3" -->
>
> <form method="POST" enctype="multipart/form-data">
> <table>
> <tr><td>Image
File</td><td><input type="file"
name="FileName"></td></tr>
> <tr><td colspan="2"><input type="submit"
name="Submit"></td></tr>
> </table>
>
> <!-- InstanceEndEditable --></body>
> <!-- InstanceEnd --></html>
>

Similar Messages

  • External hard drive, sharing, itunes? Not sure where to post this?

    sorry guys but i'm not sure where this belongs, but anyway. I just bought my macbook and purchased a Western Digital harddrive ( external ) anyway I have like 80gigs of pics and music and want to get it from my iPod back onto the computer. Not a problem............My problem is that I can't put it directly onto the external drive I first need to put it on the macbook then transfer it to the externak hardrive. When I do this is winds up on my mac HD and also on my external hardrive. I only want it in one place. Ok, my ultimate goal right now is to buy an iMac which I'm doing this weekend. Got rid of my PC's ( Go Apple !) LOL. I want to put all my music ,videos,pics, movies on the external hardrive and be able to share it with both my Macbook and my imac. I simply want to be able to access my everything from both pc's but get it all from the EHD. Right now it's all on my macbook and I want to free up the space, plus learn how to do it for the future. Sorry to ramble. So far I've posted a few times and someone always comes through. Everyone here is awesome, it's like another planet compared to the PC world.
    thanks
    Mike , NYC
    macbook   Mac OS X (10.4.9)   HP Desktop

    Put your iTunes folder on the eternal hard drive, and make a alias to it from your home directory on the MacBook (Cmd-L). Do the same when you get the iMac.
    I didn't quite get how the two computers are sharing the hard drive, or maybe you'll put the hard drive on the iMac and share the library. There's a lot of ways to make this work. You made a good decision.

  • Not sure where to post please direct

    I have a document that I would like to copy cut and paste into an email.
    Everytime I paste it is automatically double spaced and a pain to edit to single spacing.
    I have checked the default settings and they are all single.
    Please advise

    HI,
    You posted in the Safari forum. Go here: http://discussions.apple.com/index.jspa?categoryID=1
    Select the operating system your PBook is running. Leopard? Tiger?
    Then select the Mail & Address Book Forum.
    Post there...
    Also, in order to help you better, please click My Settings on the right side of this page and update your profile to indicate which Mac OS you are running.

  • When attempting to play songs on itunes, getting error message that file cannot be found and asked if i want to locate it.  not sure where it went. do have new computer and all files were transferred to new machine.

    I just tried to play some songs that i have in itunes and i get an error message that says file can't be located.  It appears to be on about half the songs of the thousands I have in there.  I do have a new computer and transferred the itunes library about a month ago.  I have successfully managed ipod on new computer.  I wonder if it is a licensing issue but this is just the second computer althought the third hard drive these songs have been on.  It is affecting songs loaded from CD's and purchased from itunes on the old computer alike. 

    Hi angela dfromtx,
    When tracks in iTunes display a it means the file cannot be located; it may have been moved or deleted. You'll have to locate the file manually if it is still available. For more information refer to the following article:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Alternatively, if your media was downloaded from the iTunes Store, you may be able to download it again free of charge:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Thanks,
    Matt M.

  • Tar problem - Not sure where to ask

    This is my post in this forum & I'm not sure where to post this.
    I have just installed Arch in my office system 2 days ago. I was extracting tomcat 5.0.28 official tar.gz in my arch system and it gave this error:
    tar: A lone zero block at 82109
    The tar version in my system is
    tar (GNU tar) 1.15.1
    I extracted the same archive in our server where the tar version is:
    tar (GNU tar) 1.13.25
    and it gave no error
    The error/not error is same with either -x or -t flag.
    Is it a bug in the new version of tar (I think so, arch should have nothing special about it).
    What should I do can anybody suggest?

    Yes the size does match, so I think the content may be OK.
    Last time I found the directory size mismatch using du -s
    but I guess its because the two directory was in two different fs
    in server it was xfs, in my home it was ext3.
    By the way is there any way to verfiy equivalency of two directories. I know
    of md5sum but that works file by file.
    Thanks.

  • JSP default error page - not sure where this goes

    So I am not sure where the jsp section of the forums is but Ill post here ....
    Any ways I dont like the look and feel of the current default error page when you throw an error on a jsp so i created my own cutom error page and set that as isErrorPage="true" then in the header.jsp I placed errorPage="error.jsp."
    It doesnt work.
    I have a jsp, a servlet and the error page. the jsp sends information to the servlet which sends the result back. if that servlet throws an error then it should be displayed on the error.jsp page where I told it to...How ever - it just goes to the default error page.
    How do I fix this.
    Sorry if this doesn't belong here not sure where else to put it. and in theory - it is java.

    user8974754 wrote:
    Yes its shown in the jSP. so how do I make the servlet be like "oh...thats the error page I want to display the error on"I'm pretty sure you can't, since it's a JSP mechanism, not a Servlet mechanism.
    And even if it was possible, it's not something that could be recommended.
    A normal way would be to catch the exceptions in your servlet and handle them there (log the exception and redirect to an error page).

  • HT1918 I cancelled a payment through PayPal. How do I update the payment for that charge?  I looked at my payment information and it has my credit card information.  I'm not sure where to update the PayPal part of payment.

    I cancelled a payment through PayPal. How do I update the payment for that charge?  I looked at my payment information and it has my credit card information.  I'm not sure where to update the payment that was associated with my PayPal account?  I am not sure what that paid for?  I am trying to process updates on my IPhone &amp; IPad for apps. I have already downloaded. 

    Hi Xellana, and a warm welcome to the forums!
    I'm looking for information and pricing on possibly upgrading the processor from the PowerPC to Intel.
    While anything is possible if you had enough money... NOPE, you can't change the CPUs to Intel, nor can you get any faster PPC upgrades for it. It'd be far cheaper to buy a new IntelMac than to replace everything inside the G5, and I mean just about everything, then figure out how to machine the case & such to mount Intel Logic Board, Graphic Card & such.
    Sorry.

  • Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.

    Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.

    Hi saiyed adil, 
    Thank you for contributing to the Apple Support Communities. 
    It appears that your iPhone 5s sometimes produces low sound, but a restart corrects it. 
    It can take some time to isolate and resolve intermittent issues like this one, and I'd recommend going through the steps in this guide the next time it occurs:
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    All the best,
    Jeremy 

  • This is less a question and more of a suggestion and I am not sure where to put it..... I would like an update that would allow you to have a tone for each individual email account

    I am not sure where to put this but I would like individual tones for all my email accounts

    Wonderful suggestion.
    You can give Apple feedback here > http://www.apple.com/feedback/
    Hop that helps

  • I have recently updated my macs software then been onto Photo Booth and realised that all of my pictures/videos have been deleted and are not in iPhoto? Im not sure where they have all gone?

    PLEASE HELP
    I have recently updated my macs software then been onto Photo Booth and realised that all of my pictures/videos have been deleted and are not in iPhoto? Im not sure where they have all gone?

    Photobooth and iPhoto are two quite different apps with no connection between them. I'd try the Using Mac OS X forum for whatever version of the OS you have.

  • HT1338 why i'm not able to open pdf files? says i need adobe reader, but not sure where to get it.

    why i'm not able to open pdf files? says i need adobe reader, but not sure where to get it.

    Welcome to the Apple Support Communities
    You can use Preview to open PDFs. Right-click a PDF file and go to Open with > Preview

  • I bought  my MacBook Pro in 2010. This is the first Mac I have owned and recently it is having some difficulty loading we pages, often timing out. This Mac environment is entirely different for me and I am not sure where to begin troubleshooting/clean-up.

    I bought  my MacBook Pro in 2010. This is the first Mac I have owned and recently it is having some difficulty loading we pages, often timing out. This Mac environment is entirely different for me and I am not sure where to begin troubleshooting and/ or clean-up. I have moderate computer skills and try not to download or access questionable material, however recently I visited the Ap Store and purchased a couple of different aps to use in record keeping and for making a flyer. I am not even sure how to remove these programs to see if it helps.
    Any tips or tricks are appreciated.
    Thank you!

    Time to see about the PRAM battery.
    By the way iOS and OS X are different systems.
    iOS is the operating system for iPads, iPhones, and iPod touch.
    Mac OS X is the operating system for Mac labelled computers.

  • I updated my computer to 10.10.1 and now my photoshop isn't in my applications folder anymore. Even when I try to export photos from Lightroom, PS isn't even an option anymore. Not sure where it went or how to get it back! Thanks!

    I updated my computer to 10.10.1 and now my photoshop isn't in my applications folder anymore. Even when I try to export photos from Lightroom, PS isn't even an option anymore. Not sure where it went or how to get it back! Thanks!

    Using 6-7 year old software that's no longer receiving updates & was never designed to run on 10.10 is asking for trouble.   That said, try re-installing PS and installing Java SE6
    Java for OS X 2014-001
    It might work.  But again it might not.
    Good luck!
    Nancy O.

  • Compare PDF Docs in Preview (not sure were to post)

    I need to compare to dumb PDF docs to look for changes that have been made. I was wondering if there is an "elegant" way to do this with preview. Not sure were to post this question. Thank you in advance for any help.

    You mean a more elegant way than side-by-side?
    You might try this compare utility. I haven't tested it myself and there are no reviews. It is also shareware but may allow a one-time to test.
    Or this one which seems to ask for a donation of one buck.
    -mj

  • Lost ipod and not sure where, can an ipod be temporarily disabled ?

    lost ipod but maybe at home somewhere, not sure where its been lost. can it be temporarily disabled ?, just in case it turns up

    I do not know what yo mean by disabled and what model iPod y ohave:
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

Maybe you are looking for