Redirect a topic landing page to a sub-project topic

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
devangee
Propeller Head
Posts: 31
Joined: Fri Aug 03, 2007 11:52 am

Redirect a topic landing page to a sub-project topic

Post by devangee »

What I have:
A main project with one or more subprojects.

What I have to do:
Create a landing page in the main project so that it goes directly to the subproject topic rather than have duplicate topics (one in the main project and one in the subproject).
How can I do that?
I know in code you can redirect a HTM page to go to a different page, and I tried that code, but in the compiled help it doesn't work. What will work?

Alternative option, how can I get a Help ID from a subproject to work? Is this possible?
kashby
Propeller Head
Posts: 39
Joined: Wed Apr 30, 2008 2:52 pm

Re: Redirect a topic landing page to a sub-project topic

Post by kashby »

I'm not sure I'm entirely clear on what you are attempting to do. Are you trying to launch subprojects from a splash screen or main page?
How are your subprojects loaded in to your master project?

This may be a little different from what you are doing, but maybe it'll help. I have created a Knowledge Base using a single topic master project and have loaded my subprojects (their outputs) into the AutoMerge folder. The easiest way I've found to make the subprojects accessible (and sorted neatly) is to create a top level TOC entry within each subproject that places everything in the project under a single product name. This produces a combined TOC in the master project that lists all of the other subprojects by product name. This setup allows you to search across all content but maintain each system as a modular, individual component in the TOC. Content filters defined in the master project allow you to refine your search results by product.
devangee
Propeller Head
Posts: 31
Joined: Fri Aug 03, 2007 11:52 am

Re: Redirect a topic landing page to a sub-project topic

Post by devangee »

Here's an example of what I want to do:
The website http://www.mycompany.com is a a valid address and the address of your previous company.
Your company recently got bought by a different company and the new website is http://www.newcompany.com.
The website http://www.mycompany.com is still valid, but it's been coded to redirect automatically to http://www.newcompany.com.

This is similar to what I want to do.
I have a main project with three subprojects.
MainHelp\subsystems\Subproject1.

Currently, my landing page in the main project is called from the Help menu (and it's a duplicate topic of the one that it's jumping to in the subproject).
What I want is so that when the Help menu calls the landing page, it goes directly to the subproject topic.

Is that possible in Flare and the WebHelp output?
kashby
Propeller Head
Posts: 39
Joined: Wed Apr 30, 2008 2:52 pm

Re: Redirect a topic landing page to a sub-project topic

Post by kashby »

This is new territory for me, but I got a basic redirect to work without too much trouble. I found a redirect script at http://www.instant-web-site-tools.com/h ... irect.html and tried inserting it into a topic of a compiled help system to see if I could get one topic to redirect to another. (This seems like it might at least be in the ballpark of what you're doing.) The redirect seems to work fine as long as the topic has a web address.

Open the topic (in notepad) from which you want to redirect users. Insert the following at the top of the page. When a user opens the topic, they will be redirected to the new destination. (The zero (0) after "REFRESH" controls the seconds of delay--0 means instantaneous.)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.new_website.com"></HEAD>
<BODY>
Redirecting to new location.
</BODY>
</HTML>


I hope this helps in at least some small way. If nothing else, it may get you thinking about something else that will actually work for you.
Post Reply