dreamweaver version list - library items
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver version list - Library items

dreamweaver version list - Library items

The UK's most regular instructor-led training courses.
Training information: dreamweaver version list · Dreamweaver training · Adobe dreamweaver training

resolvedResolved · Low Priority · Version Standard

Library items

Simon has attended:
Dreamweaver 8 Introduction course

by - delegate Simon [23 posts] (2007 Nov 12 Mon, 10:24) replyReply

I recently started using library items for tables that appear on several pages. I now need to update some of these, but after editing & the library item, I cannot get the pages to update to the new version. I use Modigy > Library > Update Pages but the page stays the same. Also, if I choose the Update Current Page option, I get a message saying "No error occurred". Grateful for your advice. Thanks, Simon

Dreamweaver CS3 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
CS3 2009 Jan 15 Thu + 16 Fri Bloomsbury 5 book now £495 £495
CS3 2009 Feb 12 Thu + 13 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Mar 12 Thu + 13 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Apr 16 Thu + 17 Fri Bloomsbury 8 book now £395 £415
CS3 2009 May 14 Thu + 15 Fri Bloomsbury 8 book now £395 £415
CS3 2009 Jun 11 Thu + 12 Fri Bloomsbury 8 book now £395 £415
Full Schedule: See all 11 Dreamweaver CS3 course dates.
Bookings currently available until 12th November 2009.

RE: Library items

by - delegate Simon [23 posts] (2007 Nov 12 Mon, 10:27) replyReply

I also meant to add, that if I click on a library item displayed on a page I get an error saying "filepath/filename was not found" - how can this be? Thanks again, Simon

RE: Library items

by - trainer Rich platinum contributer[744 posts] (2007 Nov 12 Mon, 10:33) replyReply

It's either not pointing to the correct folder. Or the library items have been moved somewhere?

Check your code to see what the library item filename is. Then check your assets panel to ensure that library item filename exists. It may have been deleted, renamed or moved.

Rich

RE: Library items

by - trainer Rich platinum contributer[744 posts] (2007 Nov 12 Mon, 10:31) replyReply

Hi Simon,

Hmm, that is interesting.

Have you tried deleting the library item from the page and then reinserting it? It may be it's pointing to an old library item, or not pointing correctly.

If you reinsert the library item and it's still not the 'updated' table you expect, perhaps you are not updating the library item properly.

To update a library item, go to the Assets panel, double click your library item to open it. You should see in the titlebar of dreamweaver you are editing a .lbi file (library file). Make your changes then save as you would save a web page. Close the library item as you would close a web page. Now open it again. Make sure the changes were saved.

If the above doesn't solve any problems, please reply back so I can further assess this problem.

Regards, Rich

RE: Library items

by - delegate Simon [23 posts] (2007 Nov 12 Mon, 10:57) replyReply

There is something weird going on - I discovered that Dreamweaver had created a new Library folder for the library items (there was already a library folder containing various files & images). I just move the library items into the old library folder and deleted the new library folder. Now if I try to add a new library item I get "Unable to create a folder for library items under the root folder of this site" - hope you can help! Thanks, Simon

RE: Library items

by - trainer Rich platinum contributer[744 posts] (2007 Nov 13 Tue, 12:36) replyReply

Simon,

Did you originally have a folder in the root of your site called 'library'? If so, that may have confused Dreamweaver, as by default, they store all library items in a root-level folder called 'Library' (with a capital L). And if that folder doesn't exist, Dreamweaver should try to create it.

My first suggestion is to not keep anything else in the /Library folder except Dreamweaver's library files. Use an /asset/image folder for your own images etc.

Just to clarify, library items are .lbi files, which Dreamweaver does NOT upload to your server, rather it keeps these files on your local machine only, and when you update a library file, Dreamweaver goes through every file on your site looking for the tag #BeginLibraryItem. If the library path matches, it will update the content between the tags on your pages with the contents you just saved to your library item.

I've just experimented a bit with Library items and tried to recreate what I think may have happened on your set up.

I created a library item, and Dreamweaver generated a folder, Library, in my site, and put the new .lbi file there. In my assets panel, the library item showed, and the path was /Library/myfirst.lbi. All as expected so far.

I then deleted the Library folder within the Files panel. Dreamweaver warned me that a web page was using that library item, and I wouldn't be able to update it if I deleted it.

I said yes anyway, and Dreamweaver deleted the folder. I went back to the Assets panel, and the library item was still showing. I right clicked in the whitespace of the Assets panel and clicked 'Site refresh'. After a minute, the library item disappeared.

I then created a new folder in my site, library (note lowercase). I created a second library item, and Dreamweaver stored it in the newly created folder, library. The library item appeared in the Assets panel, with the path as "/library/mysecond.lbi".

On the files panel, I then created another folder in my root, called "library2". I moved the library file mysecond.lbi from /library to /library2. Dreamweaver prompted me to 'update all pages that used this library item'. I did this, and Dreamweaver successfully moved mysecond.lbi to /library2, and it also updated my page so that the code looked like this:
<!-- #BeginLibraryItem "/library2/mysecond.lbi" -->

And then looking at the Assets panel, the second library item was still there, but the path had been updated to /library2/mysecond.lbi.

So you can have a library item anywhere you want within your site, because Dreamweaver looks at the code on your page to see where library items are stored.

My suggestions are:

1) Make sure there is only one library folder, and it is called "Library" with capital L - and exists in the ROOT of your site.

2) Remove anything from the /Library folder that isn't a library item. Images, css files etc... move them to a more suitable location such as /asset/image and /asset/css.

3) Wherever a library item appears on your pages, check the code and make sure the correct path is being used. ie. if the path in your code is:
<!-- #BeginLibraryItem "/libraries/mysecond.lbi" -->
but you are storing library files in /Library then update your web page code to be
<!-- #BeginLibraryItem "/Library/mysecond.lbi" -->

Check for spelling of Library (eg. make sure it's not libary or some other wrong spelling).

As far as the message 'unable to create a folder for library items under the root folder of this site' - can you yourself create a Library folder? Right click the root folder (this will have "Site -" at the start) and choose "New Folder".

If you can't do this, then you might not have the correct permissions to create folders. Get them!

Regards, Rich

RE: Library items

by - delegate Simon [23 posts] (2007 Nov 14 Wed, 16:16) replyReply

Rich - Thanks very much for your help & extensive advice with this problem - now seems to be sorted!


Related articles

· Advantages Of Using Dream Weaver To Design Web Pages
· Macromedia Dreamweaver Vs Microsoft FrontPage
· The Evolution of Macromedia DreamWeaver
· Six Reasons to Outsource Dream Weaver Training
· Macromedia Dreamweaver: An Introduction

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz