Results 1 to 9 of 9

Thread: Re: Dreamweaver

  1. #1
    Join Date
    Jan 2010
    Location
    Halifax, Nova Scotia
    Posts
    17

    Default Re: Dreamweaver

    There is a setting in Dreamweaver that allows Dreamweaver to reorganize and "correct" code.

    Go to Edit > Preferences > Code Rewritting. Make sure .php is in the "Never Rewrite Code" field and check the box.

    You're golden.

  2. #2
    Join Date
    Jun 2011
    Posts
    7

    Default Re: Dreamweaver

    Hello Oatmeal,

    When I did this, the option seems to be greyed out with a tick. .php is inside the field. Yet, when I edit formmail.php with it, DW still does something that renders it unusable. I gather you are able to edit formmail.php with your DW without a problem. I use DW MX 2004. What's version of DW are you using?

    Mark

  3. #3
    Join Date
    Jan 2010
    Location
    Halifax, Nova Scotia
    Posts
    17

    Default Re: Dreamweaver

    Hi onl,

    I am currently using Dreamweaver CS4. As long as it is checked (even if the option is greyed out) I believe it is still active in this instance. I have attached a screenshot for comparison.

    Click image for larger version. 

Name:	screenshot.jpg 
Views:	333 
Size:	88.6 KB 
ID:	320

  4. #4
    Join Date
    Jun 2011
    Posts
    7

    Default Re: Dreamweaver

    Thanks for that.

    Yes, I had the same settings and unfortunately, it still modified the Formmail.PHP file.

  5. #5
    Join Date
    Jan 2010
    Location
    Halifax, Nova Scotia
    Posts
    17

    Default Re: Dreamweaver

    Hi onl,

    It appears you are correct - there may be no way to fix this issue. After and exhaustive search last night it appears this has been an ongoing issue that Adobe has not corrected. The funny thing is that I have no issues editing in Dreamweaver - probably have about 15 copies of this form out there now - I had issues before I had set the code re-writing option. I am using Dreamweaver CS4 with all updates on a PC - apparently the issue is worse on a Mac.

    On a side note, you may be interested in trying this program out for your PHP editing - Notepad +. I've found it pretty handy whilst learning PHP - it may make your life a little easier.

    Wil

  6. #6
    Join Date
    Oct 2012
    Posts
    1

    Default Re: Dreamweaver

    Hi! Only pro use Notepad. I'm not pro and i'm using Dreamweaver ^^!

  7. #7
    Join Date
    Jan 2010
    Location
    Halifax, Nova Scotia
    Posts
    17

    Default Re: Dreamweaver

    Quote Originally Posted by tictoe View Post
    Hi! Only pro use Notepad. I'm not pro and i'm using Dreamweaver ^^!
    Notepad ++ is free and will work for anyone trying to edit the PHP portions of this form. Use Dreamweaver for the front end layout of your page and edit PHP scirpts in Notepad ++. For that matter any plain text editor would work.
    Last edited by oatmeal; 06-Oct-2012 at 12:42 AM.

  8. #8
    Join Date
    Jun 2011
    Posts
    7

    Default Re: Dreamweaver

    Hello oatmeal (Wil)

    Yes I've been using Notepad ++ for about a couple of years or so now, mainly because of this issue with Formmail.PHP and Dreamweaver and every time I work with code, especially PHP, I use Notepad ++ and avoid using Dreamweaver. Thanks for introducing it just the same so that others will know about it.

    Tictoe, Notepad ++ is not just for professionals. In this discussion, we are just looking for an alternative editor if Dreamweaver is altering the Formmail.PHP. To alter Formmail.PHP, you do not need to be a pro. The same skill level is required regardless if you are using Dreamweaver or Notepad ++. If you have figured out how to set up remote and local files and edit code in Dreamweaver, you can do the same with Notepad ++.

    //Mark
    Last edited by onl; 05-Oct-2012 at 11:47 PM.

  9. #9
    Join Date
    Nov 2012
    Posts
    1

    Thumbs up Re: Dreamweaver

    Thanks so much

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. edit the html in dreamweaver
    By whatsgood in forum Community Support
    Replies: 1
    Last Post: 26-Nov-2008, 01:24 PM
  2. Advanced Error Handling, Custom Templates & Dreamweaver Templates
    By wiggley_knee in forum Community Support
    Replies: 4
    Last Post: 15-Jul-2008, 11:23 AM
  3. Dreamweaver problems
    By Equi_Nut in forum Your Suggestions
    Replies: 2
    Last Post: 10-May-2008, 09:55 PM
  4. Can I use dreamweaver 8 to modify the sampleform
    By riddleh in forum Community Support
    Replies: 0
    Last Post: 19-Nov-2007, 03:47 AM
  5. Is Dreamweaver 8 a nono for PHP uploads
    By tumbleweed in forum Community Support
    Replies: 2
    Last Post: 02-Jul-2007, 06:50 PM

Bookmarks

Posting Permissions

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