Missing Linked Stylesheet errors

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Patman
Jr. Propeller Head
Posts: 2
Joined: Fri Feb 15, 2008 9:31 am
Location: Omaha NE

Missing Linked Stylesheet errors

Post by Patman »

I've chased my tail on this, and hope someone can help.

I have one stylesheet in my project. I'm getting 10 of 120 topics to kick an error when I build my DotNet help. The error:
Description: Missing linked source file file:///...My Projects/Master HELP/Content/Menu Item Help/Codes and Types/LT 1.css
Subsystem: Compiler
File: ...\My Projects\Master HELP\Content\Menu Item Help\Codes and Types\topic1.htm

When I go to Tools - Stylesheet Links of topic1, my only stylesheet (LT 1.css) is where it should be .../My Projects/Master HELP/Content/Resources/Stylesheets/ and appears in both panes of the Stylesheet Links dialog box.

But when I right click on the topic1.htm entry in the Content Explorer, go to Properties - Topic Properties, the Stylesheet: field shows (missing: file:///...My Projects/Master HELP/Content/Menu Item Help/Codes and Types/LT 1.css.

LT 1 is available in the drop down list. I select it, and click OK. I go right back to the topic1.htm Properties and the Stylesheet: field says (missing: file:///... as before.

Sorry, this is kinda a hard thing to explain, but any help is greatly appreciated!
-Pat
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Missing Linked Stylesheet errors

Post by LTinker68 »

In the Content Explorer, right-click on topic1.htm and select Open with > Internal Text Editor. Look for the stylesheet reference near the top of the page. It's possible there are several references. The Properties page shows the stylesheet list as if you could only select one stylesheet, but you can have multiple stylesheet references in a topic. So you may think you're selecting your main stylesheet when in fact you're only adding that reference, not removing any old stylesheet references, and it's those old references that could be causing the problem.

If there are multiple stylesheet references, delete them, save the topic in the Internal Text Editor then close it, then open the Properties screen for the topic and specify the stylesheet.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Patman
Jr. Propeller Head
Posts: 2
Joined: Fri Feb 15, 2008 9:31 am
Location: Omaha NE

Re: Missing Linked Stylesheet errors

Post by Patman »

Right on Lisa! Thanks. I found the reference while using the text editor as you suggested.
Post Reply