Library Items - Strange Things...

User 2808717 Photo


Registered User
21 posts

Hi,
There have been some very strange things happening with my library items.
1) when I first created a library item I wanted to import it into another project. When I opened that project (closing the other first, as I don't see how to have more than one project open) and looked for the library to import, there wasn't anything there to import. So I created another Lib in the original project, and repeated the process to import it into the other project. When I opened the 2nd project to import the Lib item, the first one was now in the 2nd project and so was the 2nd Lib item. I didn't import anything. Now Lib items appear in a project without any importing. I see a huge problem on the horizon. HELP!

2) I also found that somehow my Lib item became corrupted with an entire page of code. It had in it the code for one of my unopened pages! How did that happen? I removed it and even created duplicate Lib item and the edited one was filled again with phantom code! Below is the Lib code
**for the correct one**
Filename: TopNavMain.lbi

Description:
This is the nav bar across the top of the home page and on others with a layout like the home page

Code to be inserted:
<nav>
<ul class="menu wrapper">
<li><a href="indexLIB-TEST.html">Home</a></li>
<li><a href="committeesLIB-TEST.html">Committees</a></li>
<li><a href="facilitesLIB-TEST.html">Facilities</a></li>
<li><a href="docsLIB-TEST.html">Documents</a></li>
<li><a href="forumLIB-TEST.html">Forum</a></li>
<li><a href="contactsLIB-TEST.html">Contact Us</a></li>
</ul>
</nav>
****************
**the code that was corrupted**
Filename: TopNavMainALLMESSEDUP.lbi

Description:
This is the nav bar across the top of the home page and on others with a layout like the home page

Code to be inserted:
<!DOCTYPE html>
<html lang="en">
<head>
<title>FitLine</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen">
<!--<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">-->
<link rel="stylesheet" href="css/styleGRAPHICS-TEST.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/grid.css" type="text/css" media="screen">
<script src="js/jquery-1.6.3.min.js" type="text/javascript"></script>
<script src="js/tabs.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen">
<![endif]-->
</head>
<body id="page1">
<div class="bg">
<!--==============================header=================================-->
<header>
<div class="menu-row">
<div class="main">
<!-- #BeginLibraryItem "TopNavMain.lbi" -->
<nav>
<ul class="menu wrapper">
<li><a href="indexLIB-TEST.html">Home</a></li>
<li><a href="committeesLIB-TEST.html">Committees</a></li>
<li><a href="facilitesLIB-TEST.html">Facilities</a></li>
<li><a href="docsLIB-TEST.html">Documents</a></li>
<li><a href="forumLIB-TEST.html">Forum</a></li>
<li><a href="contactsLIB-TEST.html">Contact Us</a></li>
</ul>
</nav>
<!-- #EndLibraryItem -->
</div>
</div>
<div class="main">
<h1><a href="index.html">FitLine</a></h1>
<form id="search-form" action="#" method="post" enctype="multipart/form-data">
<fieldset>
<div class="search-field">
<input name="search" type="text" value="Search" onBlur="if(this.value=='') this.value='Search'" onFocus="if(this.value =='Search' ) this.value=''" />
<a class="search-button" href="#"></a> </div>
</fieldset>
</form>
</div>
</div>
<ul class="tabs">
<li><a href="#tab1">Best Diet Advices</a></li>
<li><a href="#tab2">Exercise &amp; Physical Fitness</a></li>
<li><a href="#tab3">Weight Loss Programs</a></li>
</ul>
<div class="tab_container">
<div id="tab1" class="tab_content">
<div class="main">
<div class="wrapper">
<figure class="img-indent-r"><img src="images/page1-img1.jpg" alt=""></figure>
<div class="extra-wrap">
<div class="indent"> <strong class="title">Best</strong>
<p class="p5">Diet Advice You've<br>
Never Heard Before</p>
<div class="btn-wrap"> <span class="button"> <a href="#"><strong>Read More</strong></a> </span> </div>
</div>
</div>
</div>
</div>
</div>
<div id="tab2" class="tab_content">
<div class="main">
<div class="wrapper">
<figure class="img-indent-r"><img src="images/page1-img2.jpg" alt=""></figure>
<div class="extra-wrap">
<div class="indent"> <strong class="title">Exercise</strong>
<p class="p5">And Physical<br>
Fitness</p>
<div class="btn-wrap"> <span class="button"> <a href="#"><strong>Read More</strong></a> </span> </div>
</div>
</div>
</div>
</div>
</div>
<div id="tab3" class="tab_content">
<div class="main">
<div class="wrapper">
<figure class="img-indent-r"><img src="images/page1-img3.jpg" alt=""></figure>
<div class="extra-wrap">
<div class="indent"> <strong class="title">Fastest</strong>
<p class="p5">Weight Loss<br>
Programs</p>
<div class="btn-wrap"> <span class="button"> <a href="#"><strong>Read More</strong></a> </span> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<!--==============================content================================-->
<section id="content">
<div class="main">
<div class="container_12">
<div class="wrapper img-indent-bot">
<article class="grid_4">
<h3>Weight-Loss Basics</h3>
<ul class="list-1">
<li><a href="#">Count Calories</a></li>
<li><a href="#">Weight Loss Basics</a></li>
<li><a href="#">Healthy Eating</a></li>
<li><a href="#">Eating Out</a></li>
<li><a href="#">Nutrition</a></li>
<li><a href="#">About Diets</a></li>
<li><a href="#">Emotional Eating</a></li>
<li><a href="#">Exercise for Weight Loss</a></li>
<li><a href="#">Obesity &amp; Health</a></li>
</ul>
</article>
<article class="grid_8">
<h2>Welcome to Fit Line!</h2>
<div class="wrapper prev-indent-bot">
<figure class="img-indent2"><img src="images/page1-img4.jpg" alt=""></figure>
<div class="extra-wrap">
<h6 class="p1">FitLine.com is one of free website templates created by TemplateMonster.com team.</h6>
This FitLine Template goes with two packages – with PSD source files and without them. PSD source files are available for free for the registered members of Templatemonster.com. The basic package is available for anyone without registration. </div>
</div>
<p class="prev-indent-bot">This website template has several pages: <a class="link" href="index.html">Home Page</a>, <a class="link" href="nutrition.html">Nutrition</a>, <a class="link" href="diets.html">Best Diets</a>, <a class="link" href="programs.html">Programs</a>, <a class="link" href="contacts.html">Contacts</a> (note that contact us form – doesn’t work).</p>
<a class="button-2" href="#">Read More</a> </article>
</div>
<div class="wrapper">
<article class="grid_4">
<div class="indent-right">
<h3>Recent Comments</h3>
<h6>Admin</h6>
<p class="p2">&quot;Nam libero tempore cum soluta nobis<br>
est eligendi optio cumque nihil impedit quominus id quod maxime...&quot;</p>
<h6 class="p0">Guest 1</h6>
<p class="p2">&quot;Omnis voluptas assumenda est omnis dolor repellendus. Temporibus quibusdam<br>
et aut officiis debitis aut rerum...&quot;</p>
<h6 class="p0">Guest 2</h6>
&quot;Ut et voluptates repudiandae sint moles<br>
tiae non recusandae. Itaque earum rerum hic tenetur a sapiente...&quot; </div>
</article>
<article class="grid_4">
<h3 class="prev-indent-bot">We Recommend</h3>
<h6 class="p0">Weight Loss Diet</h6>
<p class="p0">At vero eos et accusamus et iusto dignissimos ducimus qui blanditiis.</p>
<p class="p2"><a class="link" href="#">Read More</a></p>
<h6 class="p0">Help Me Lose Weight Fast</h6>
<p class="p0">Deleniti atque corrupti quos dolores et quas molestias excepturi.</p>
<p class="p2"><a class="link" href="#">Read More</a></p>
<h6 class="p0">Losing Weight Fast</h6>
<p class="p0">Similique sunt in culpa qui officia deserunt mollitia animi, id est laborum.</p>
<a class="link" href="#">Read More</a> </article>
<article class="grid_4">
<div class="indent-left">
<h3 class="prev-indent-bot">Popular Topics</h3>
<div class="wrapper p2">
<figure class="img-indent2"><img src="images/page1-img5.jpg" alt=""></figure>
<div class="extra-wrap">
<h6 class="p0">Sed ut perspiciatis</h6>
At vero eos et accusamus iusto dignissimos ducimus blanditiis. <a class="link" href="#">Read More</a> </div>
</div>
<div class="wrapper p2">
<figure class="img-indent2"><img src="images/page1-img6.jpg" alt=""></figure>
<div class="extra-wrap">
<h6 class="p0">Neque porro quisquam</h6>
Deleniti atque corrupti quos dolores et quas molestias excepturi. <a class="link" href="#">Read More</a> </div>
</div>
<div class="wrapper">
<figure class="img-indent2"><img src="images/page1-img7.jpg" alt=""></figure>
<div class="extra-wrap">
<h6 class="p0">Dolorem ipsum quia</h6>
Similique sunt in culpa qui officia deserunt mollitia um animi. <a class="link" href="#">Read More</a> </div>
</div>
</div>
</article>
</div>
</div>
</div>
</section>
</div>
<!--==============================footer=================================-->
<footer>
<div class="main">
<div class="aligncenter"> <span>Copyright &copy; <a href="#">Domain Name</a> All Rights Reserved</span> Design by <a target="_blank" href="http://www.templatemonster.com/">TemplateMonster.com</a> | Download more: <a href="http://www.csstemplatesfree.org">CSS Website Templates</a></div>
</div>
</footer>
</body>
</html>


Any thoughts!

I am having a variety of problems which I will address in separate threads. Thanks
Christy
User 2484360 Photo


Registered User
3,293 posts

Hey Christy,

Christy Stevens wrote:

1) when I first created a library item I wanted to import it into another project. When I opened that project (closing the other first, as I don't see how to have more than one project open) and looked for the library to import, there wasn't anything there to import. So I created another Lib in the original project, and repeated the process to import it into the other project. When I opened the 2nd project to import the Lib item, the first one was now in the 2nd project and so was the 2nd Lib item. I didn't import anything. Now Lib items appear in a project without any importing. I see a huge problem on the horizon. HELP!


You do not have to worry there, as library items are global, which means they are shared among all projects. The import is used to import a shared library item from another person, or perhaps a backup of one you had deleted.

Christy Stevens wrote:

2) I also found that somehow my Lib item became corrupted with an entire page of code. It had in it the code for one of my unopened pages! How did that happen? I removed it and even created duplicate Lib item and the edited one was filled again with phantom code!


If you could open up a support ticket, provide the .lib file and the .html file it was added to, we would be happy to take a look.
User 2808717 Photo


Registered User
21 posts

Thanks Adam.

So, if I'm using a Lib item for say the nav bar, in multiple projects but the navs are different, then I should be giving them unique names to avoid conflicts, is that correct?

I will get a support ticket going. Thanks.

Having a lot of strange things happening, so I will probably just open tickets for this stuff if I need to, but I'll give you a run down on what's happening. If I need to open a ticket, just let me know and I will.

I'm going to attach a file here just in case you have any thoughts on this (unrelated to Lib stuff). I can't really say exactly why these happened but they happened one after another as I was closing each error message (except for the first one on the page...it happened at another time).

Also, I am getting a lot of files in my project with this basic naming and I don't know why: ~tm41D.html - you can see this in the first error capture.

And, from time to time Editor goes bonkers and acts very erratically, such as when I select an open tab (page), I am suddenly taken out of Editor and end up on an open web page...not any page that has to do with CC or page previews or anything, just some page I might have open. Thoughts?

Also, when I close a project, why do all the pages stay open and not close with the project? Am I missing something?

Guess that's it for now :) I'm sure there'll be more.

Thanks again for the help!
Christy
Attachments:
User 2484360 Photo


Registered User
3,293 posts

Christy Stevens wrote:
Thanks Adam.

So, if I'm using a Lib item for say the nav bar, in multiple projects but the navs are different, then I should be giving them unique names to avoid conflicts, is that correct?


That is correct. It is always best to give your library items unique project based names. Like project-name-top-nav etc.

Christy Stevens wrote:
Also, I am getting a lot of files in my project with this basic naming and I don't know why: ~tm41D.html - you can see this in the first error capture.


The ~ indicates this is a temp file. It is used when you preview or open a file.

Christy Stevens wrote:
And, from time to time Editor goes bonkers and acts very erratically, such as when I select an open tab (page), I am suddenly taken out of Editor and end up on an open web page...not any page that has to do with CC or page previews or anything, just some page I might have open. Thoughts?


It sounds like you have a bad install. I would recommend removing the program, rebooting and reinstalling. Then make sure to run program as Admin.

Christy Stevens wrote:
Also, when I close a project, why do all the pages stay open and not close with the project? Am I missing something?


This is so you can copy code/text from one project to another. If those pages closed, then you would not have that ability. You can use the File > Close All option before opening the new project files.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.