25 Replies Latest reply: Sep 13, 2013 9:06 AM by discoforme RSS

    Library edits not updating HTML Code

    Giorgio_68

      Hi Guys

       

      I have a library file which controls my side_nav_bar for my entire site.

      The LBI file is located on the root directory of my website - same place where all my html files are located.

       

      When I make an edit to my library file, it asks me if I wish to update the files that are linked to it.

      I say yes, and let it do it's thing, but then I notice that the HTML code has not been updated to the linked html pages.

       

      I have to manually deleted the original library code from the HTML pages, and then drag and drop the library file from my assets folder to force it to link.

       

      Obviously doing this completely defuncts the purpose of having library files.

       

      Have I missed a step ? can someone please assist.

       

      Cheers

        • 1. Re: Library edits not updating HTML Code
          MurraySummers ACP/MVPs

          The LBI file is located on the root directory of my website - same place where all my html files are located.

           

          All Library files must be located in the Library folder below the root of the site.  Use DW's Files panel to create that folder and move the file from its current location into that newly created Library folder.

           

          The only way a Library item could be located directly in the root of your site would be if you moved it from its required location.  Avoid doing this as you will disrupt its function as you have discovered.

           

          If I am misinterpreting your comments, then please post back with a correction.

          • 2. Re: Library edits not updating HTML Code
            Giorgio_68 Community Member

            HI Murray thanks for your reply

             

            Apologies from my previous thread: my library file is located in the library folders off the root directory.

             

            So this time I created a new library file and pasted in the code from the former library file.

            I pasted into the HTML file the new library file and it linked all ok.

            i then closed the HTML file and re-opened the new lib file and made a change to some text.

            I saved and DW said it updated the HTML file.

            I re-opened the HTML file and again it did not update.

            What am I doing wrong ?

            • 3. Re: Library edits not updating HTML Code
              yshivaprasad Adobe Employee

              Hi Giorgio,

               

              Everytime a Library is updated/modified, on saving the Library Dreamweaver pops up dialog "Update Library Items" and clicking update it updates all files linked to this library.

               

              If you are still facing the issue even after placing the library in root\library path and linking it to HTML files by drag and drop from Assets panel, kindly report the bug using the link https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.

               

              Regards,

              Yalpi Shiva Prasad

              Adobe Dreamweaver Team

              Adobe Systems Incorporated

              • 4. Re: Library edits not updating HTML Code
                MurraySummers ACP/MVPs

                I saved and DW said it updated the HTML file.

                 

                Are you sure it was the right file?  Was this file closed when you did the update?  Try again with the file open and see if it's changed that way.

                 

                What is your platform/OS?

                • 5. Re: Library edits not updating HTML Code
                  Giorgio_68 Community Member

                  HI Murray

                  I think the file was closed.

                  My Operating system is MAC O/S 10.7.4

                   

                  What I will do is try with the file open and then when the file is open.

                  I'll let you know what happens.

                  Regards and once again thanks for replying to my email and helping to try and resolve.

                  Regards

                  Giorgio

                  • 6. Re: Library edits not updating HTML Code
                    Giorgio_68 Community Member

                    HI Yalpi

                    Thanks for your reply.

                    If repoprt the error to adobe, how long will it take for you guys to  respond?

                    I am needing an immediate fix.

                    Not a fix in the future sometime.

                    Look forward to your reply.

                    Giorgio

                    • 7. Re: Library edits not updating HTML Code
                      Giorgio_68 Community Member

                      Hi Murray

                      I've tried it now with both the file open and closed and "nothing "

                      Why is this happening ?? so frustrating

                      • 8. Re: Library edits not updating HTML Code
                        MurraySummers ACP/MVPs

                        What is the name of your Hard drive?  Are you seeing this happen in every site or just this one?

                         

                        Sometimes an unusual punctuation character in the name of a hard drive can interfere with DW's ability to do such things as update template child pages and library items.  So can you copy the path to the local root folder from your site definition and paste it here?

                         

                        If repoprt the error to adobe, how long will it take for you guys to  respond?

                        I am needing an immediate fix.

                         

                        Even simple fixes take quite a while to roll out given the extent to which the fixed application must be tested.  To speed the process, you must start with a set of steps that would allow an engineer (or anyone else) to reproduce your symptoms.  So far, we are not at that point, since for me (and pretty much everyone else here) Library items seem to be working as expected.  I believe what we have to do is to figure out what it is about *your* system that is preventing that from happening.

                        • 9. Re: Library edits not updating HTML Code
                          Giorgio_68 Community Member

                          Hi Murray

                           

                          The name of my hard drive is

                          "macintosh hd"

                           

                          the path where the website is stored in is

                          \macintosh hd\users\georgepatino\!original website\original site\website\

                           

                          I hope this info helps.

                          • 10. Re: Library edits not updating HTML Code
                            MurraySummers ACP/MVPs

                            Try removing the "!" from the folder named "!original website" - maybe replace it with "_".  Then adjust your site definition.  Then restart DW, and try the Library update again.

                            • 11. Re: Library edits not updating HTML Code
                              Giorgio_68 Community Member

                              Hi Murray

                               

                              I have just changed the path to

                              \macintosh hd\users\georgepatino\website_original\

                              Giorgio


                              • 12. Re: Library edits not updating HTML Code
                                MurraySummers ACP/MVPs

                                And did that help?

                                • 13. Re: Library edits not updating HTML Code
                                  Giorgio_68 Community Member

                                  HI Murray so sorry I haven't replied earlier, but no change. I still have the same issue.

                                  • 14. Re: Library edits not updating HTML Code
                                    Giorgio_68 Community Member

                                    Hello Yalpi

                                    I have been looking around the forum, and it appears that there is a def bug with the library feature of DW6.

                                    Could you please advise if there is a patch/fix available?

                                    It's really annoying that when you purchase a product and it doesn't work like it's supposed to!

                                    I believe DW5 didn't have any issues with the library function??

                                    Cheers

                                    I look forward to your reply

                                    George

                                    • 15. Re: Library edits not updating HTML Code
                                      yshivaprasad Adobe Employee

                                      Hello George,

                                       

                                      Following is a sample code when you refer a Library document within a HTML body. The Library path in the embedded code is relative to the site root and on changing it to an absolute path Dreamweaver will not be able to consider this document for update whenever changes are saved in the .lbi document.

                                       

                                      <html>

                                      <head>

                                      ...

                                      </head>

                                        <body><!-- #BeginLibraryItem "library/Library.lbi" -->

                                           <p>&lt;h1&gt;Hello World&lt;/h1&gt;</p>

                                        <!-- #EndLibraryItem --></body>

                                      </html>

                                       

                                      I could not reproduce the issue in Dreamweaver CS6 on Mac OSX 10.7.4. Please check if your document is referring to the .lib file using a relative path from root. If you are still facing the issue, please share your Email address, I can setup a meeting to go through the issue you are facing.

                                       

                                      Reagrds,

                                      Yalpi Shiva Prasad

                                      Adobe Dreamweaver Team.

                                      • 16. Re: Library edits not updating HTML Code
                                        Giorgio_68 Community Member

                                        Hello Yalpi

                                         

                                        thanks for your reply.

                                         

                                        I have checked your code and my code is correct as per your recommendations.

                                         

                                        My email address is george.patino@bellagiolimousines.com.au

                                         

                                        I look forward to discussing this with you.

                                         

                                        BTW I also have a skype account.

                                         

                                        Thanks

                                        • 17. Re: Library edits not updating HTML Code
                                          yshivaprasad Adobe Employee

                                          Thank you, George.

                                          I will send you a meeting invite.

                                           

                                          Regards,

                                          Yalpi Shiva Prasad

                                          Adobe Dreamweaver Team

                                          • 18. Re: Library edits not updating HTML Code
                                            Giorgio_68 Community Member

                                            Hello Yalpi, could you please send me another time to fix the issue i have.

                                            • 19. Re: Library edits not updating HTML Code
                                              yshivaprasad Adobe Employee

                                              Sure George.

                                              I will send an invite for today.

                                               

                                              Regards,

                                              Yalpi Shiva Prasad

                                              Adobe Dreamweaver Team

                                              • 20. Re: Library edits not updating HTML Code
                                                Leslie Sainte

                                                I'm having this same issue with a library item not updating my html pages in CS6. What was the fix?

                                                 

                                                Regards,

                                                Leslie

                                                • 21. Re: Library edits not updating HTML Code
                                                  yshivaprasad Adobe Employee

                                                  Hello Leslie,

                                                   

                                                  The issue was intermittent and a backlog was logged for the same.

                                                  Can you please share the below information:

                                                       1. Platform and Dreamweaver Version

                                                       2. Harddrive path to the files.

                                                       3. Site setup export. This will help to check if the Site configuration is corrupted.

                                                       3. Is the issue consistently reproducible and/or specific to a file?

                                                   

                                                  Also if you can please share Library and the linked files(test files), it would help us to validate the scenario.

                                                  You can share the files to yprasad_@_adobe_._com(Exclude the underscores, they are included to avoid spam bots).

                                                   

                                                  Regards,

                                                  Yalpi Shiva Prasad

                                                  • 22. Re: Library edits not updating HTML Code
                                                    tripc0der

                                                    Hi Yalpi

                                                     

                                                    We are having the same issue and we're using Dreamweaver 6, version 12.0 Build 5808. We're trying to update our mainnav.lbi which is included on each page on our site - 1932 pages. However when updating the file, Dreamweaver post a message saying 'update two pages' with a list of those pages...where it should be saying update '1932' pages. Is this a confirmed bug in Dreamweaver 6?

                                                     

                                                    <!-- #BeginLibraryItem "/library/mainnav.lbi" --> 

                                                    • 23. Re: Library edits not updating HTML Code
                                                      discoforme

                                                      Having same problem. I have one libary file that when I change content of that library file itself and run update, the files that contain that library file do not update. However, I have another library file that does update all the files. So, changes to one library file do not update content and changes to another libary file do update.

                                                       

                                                      Clue...

                                                      As a test, I created a new html page and inserted the problem library file content. When I make a change to that problem library file, the new test page updates. So for some reason the problem libary file is not updating existing pages but does update a newly created test page. Any thoughts?

                                                      • 24. Re: Library edits not updating HTML Code
                                                        yshivaprasad Adobe Employee

                                                        Hello,

                                                         

                                                        Can you please check if you have detached the Library from the document for which you are facing the problem.

                                                        • If yes, you will have to link the library again to all the required documents.
                                                        • If no, can you please check if the library item path displayed in the document code is correct.

                                                         

                                                        Library Example.PNG

                                                         

                                                         

                                                        If the problem still persists, can you please share a sample document and the library with which you are facing the issue. My Email ID is "yprasad_@_adobe_._com_" (please ignore the underscores in the ID, they are added to avoid Spam bots picking up the email id).

                                                         

                                                        Regards,

                                                        Yalpi Shiva Prasad

                                                        • 25. Re: Library edits not updating HTML Code
                                                          discoforme Community Member

                                                          Yalpi,

                                                           

                                                          I was able to determine the problem. 

                                                           

                                                          There was a <div id="body 3"> tag in the document itself as well as well as a <div id="body 3"> tag in the Libary. In other words, two <div id="body 3"> tags...one in the document body just above the LIbary and one in the Libary itself. When I removed the duplicate div tag in the body content, all my pages updated properly when I ran Library update.

                                                           

                                                          This was obviously an error on my part but I don't think this type of error should keep Libary from updating. The page worked fine with the duplicate div tags but Library would not update because of it.

                                                           

                                                          Thank you..