Startup topic not found due to addition of /Content in link

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
alidog819
Propeller Head
Posts: 15
Joined: Tue Sep 26, 2006 12:30 pm

Startup topic not found due to addition of /Content in link

Post by alidog819 »

Hi, everyone.

I'm building a WebHelp and out of no where now when I build it, the start up topic link gets another 'Content/' in it. So when I open it in IE and Firefox, it shows that it can't find the file:
location/location/location/Content/Content/file.htm

However, when I click the same file in the TOC, it shows up. When I redo the Startup topic in the Target it still adds the extra Content/.

HELP! Thank you so much!
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Startup topic not found due to addition of /Content in link

Post by doc_guy »

Which version of Flare?
Paul Pehrson
My Blog

Image
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Startup topic not found due to addition of /Content in link

Post by doc_guy »

Actually, regardless of the version of Flare, the thing I'd do is open the target in an external editor like Notepad or TextPad. Look for the following property:

Code: Select all

DefaultUrl="/Content/file.htm"
See if "content" is in there twice.

If it is in there twice, remove one and rebuild the target to see if it works.
That would give you the following property:

Code: Select all

DefaultUrl="/Content/file.htm"
If it is only in there once, remove it and rebuild the target to see if it works.
That would give you the following property:

Code: Select all

DefaultUrl="file.htm"

The other thing to check, while you have this folder open is to look at these two properties:

Code: Select all

OutputFolder="\\path\WebHelp"
and

Code: Select all

 DefaultUrl="/Content/Help_Topics/file.htm"
you only want "content" either before the second one, or after the first one. If there is "content" in both places, it will mess things up.

Hope this is going the right direction.
Paul Pehrson
My Blog

Image
alidog819
Propeller Head
Posts: 15
Joined: Tue Sep 26, 2006 12:30 pm

Re: Startup topic not found due to addition of /Content in link

Post by alidog819 »

That didn't work. Here's what's in that target:

<?xml version="1.0" encoding="utf-8"?>
<CatapultTarget
Version="1"
Comment=""
Type="WebHelp"
Destinations=""
DefaultUrl="/Content/vc_overview.htm"
MasterToc="/Project/TOCs/Primary.fltoc"
OutputFile="VoiceConsoleHelp.htm"
GetLatestBeforeCompile="false"
GlossaryMasterPage="/Content/Resources/MasterPages/WebHelpMP.flmsp"
InsertMOTW="false"
MasterPage="/Content/Resources/MasterPages/WebHelpMP.flmsp"
Medium="non-print"
AliasFile="/Project/Advanced/VC_Alias.flali"
ConditionTagExpression=""
Skin="/Project/Skins/NewWindow.flskn"
DisableAutoSync="false"
InjectDocType="false"
TargetLanguage="ja">
<Glossaries />
</CatapultTarget>

I don't even see those last two you talk about. Thanks for your help!
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Startup topic not found due to addition of /Content in link

Post by doc_guy »

"OutputFolder" probably isn't there because you use the default build location.

"DefaultUrl" is there. And it does have the /content/ folder there, once.

What happens if you remove "/Content" portion from the "DefaultUrl" line?

So use this:

DefaultUrl="/vc_overview.htm"

And build your target to see what happens. It's just a thought?
Paul Pehrson
My Blog

Image
alidog819
Propeller Head
Posts: 15
Joined: Tue Sep 26, 2006 12:30 pm

Re: Startup topic not found due to addition of /Content in link

Post by alidog819 »

Nope, that doesn't work either. I also created a brand new target and the same thing happens.
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Startup topic not found due to addition of /Content in link

Post by doc_guy »

Sounds like it is time for a bug report to MadCap. The form is here:

https://www.madcapsoftware.com/bugs/submit.aspx
Paul Pehrson
My Blog

Image
alidog819
Propeller Head
Posts: 15
Joined: Tue Sep 26, 2006 12:30 pm

Re: Startup topic not found due to addition of /Content in link

Post by alidog819 »

Greeeeeat. I did. Thanks for all you time!!
Post Reply