12 Replies Latest reply: Jul 31, 2012 7:19 AM by MurraySummers RSS

    edit websites in dreamweaver

    baty gill Community Member

      can anyone tell me how to use dreamweaver to edit websites that are not made in dreamweaver??....plz help.....

        • 1. Re: edit websites in dreamweaver
          MurraySummers CommunityMVP

          Dreamweaver works on local files.  To edit any website (even those not made in DW - after all, it's all HTML), you would first need to have a DW site defined with a local root folder, then you'd need to get the files (and their dependent files) into that local root folder, and finally you can then edit those files using DW.  Ordinarily, this requires some FTP connection to the remote site so that you can not only GET the remote files but also PUT them back once you have edited them.  Dreamweaver has the ability to do this - when you define your site you also specify the FTP connection details.

           

          I suggest you also use DW's F1 Help to read about defining a site.

          • 2. Re: edit websites in dreamweaver
            baty gill Community Member

            i have downloaded phpfox....can u tell how to edit it in dreamweaver??.....step by step.... i defined local root folder....and copied all the files...now whats next??...i m on localhost.....and what are dependent files??

            • 3. Re: edit websites in dreamweaver
              MurraySummers CommunityMVP

              See the following questions:

               

              1. First, tell us what your skill level is with both HTML/CSS and PHP, please. 
              2. Next, have you got Apache and PHP running locally? 
              3. Do you have MySQL running locally? 
              4. Have you defined localhost as your testing server? 
              5. Do you have a remote site defined?

               

              Dependent files are files that are required for any given page to function properly.  For example, a linked CSS file, or a linked javascript file, or an include file, or even an image displayed on the page would all be considered dependent files of the page.

              • 4. Re: edit websites in dreamweaver
                baty gill Community Member

                yes i have 1year exp....

                apache and php are running

                mysql running

                localhost defined

                remote site defined.....

                now whats next??.....

                • 5. Re: edit websites in dreamweaver
                  MurraySummers CommunityMVP

                  In your Dreamweaver site definition, have you defined localhost as your testing server?  What do you get when you create a new PHP page in Dreamweaver, enter the following code on it -

                   

                  <?php phpinfo(); ?>

                   

                  and click the Live button on the DW toolbar?

                  • 6. Re: edit websites in dreamweaver
                    baty gill Community Member

                    i get php version 5.3.8.....and all the details.....plz tell how do i edit php fox??......

                    • 7. Re: edit websites in dreamweaver
                      MurraySummers CommunityMVP

                      Getting there.  Sounds like your site definition is properly set.

                       

                      What edits are you wanting to make to PHPFOX?  Have you tried opening one of the pages and looking at/changing its code?

                      • 8. Re: edit websites in dreamweaver
                        baty gill Community Member

                        i want to edit it like ....split view in dreamweaver......one side there is code.....and on other side thers is design view....whole website.....i opened phpfox folder......it contains many folders such as css,ajax,etc.....and many php scripts......such add_friend.php etc.....i wanna know how do i open whole website in dreamweaver.....?? and edit whole website....like in split view.....

                        • 9. Re: edit websites in dreamweaver
                          baty gill Community Member

                          Capture 2.PNGit contains files like this.....

                          • 10. Re: edit websites in dreamweaver
                            MurraySummers CommunityMVP

                            i wanna know how do i open whole website in dreamweaver.....?? and edit whole website....like in split view.....

                             

                            I don't know what you have in mind, but you can only edit ONE PAGE AT A TIME in DW.  There is no such thing as editing the 'whole website'.  Perhaps you are thinking of an administrative page that you would access through the website itself with your browser?

                            • 11. Re: edit websites in dreamweaver
                              baty gill Community Member

                              how can i edit.....single page......??.....i mean how to open single page.....??...when i opened php scripts...it only contained....php code no html or css.....how to open a page that contains php and html......like in case of forms....it contains html and as well as php like $_POST.....

                              • 12. Re: edit websites in dreamweaver
                                MurraySummers CommunityMVP

                                You open a page by double clicking on its filename in the local file list shown in the Files panel.  If you have questions that are specific to various pages or functions in PHPFOX then you should direct those to PHPFOX support, not here.