Hello,
How can I create an alias for a topic in a HTML Help 1.x project with HelpStudio?
I refer to something like this: http://msdn2.microsoft.com/en-us/library/aa188516(office.10).aspx
Thank you.
Hello,
How can I create an alias for a topic in a HTML Help 1.x project with HelpStudio?
I refer to something like this: http://msdn2.microsoft.com/en-us/library/aa188516(office.10).aspx
Thank you.
You can define the Help Context Id (or Help Context Ids) for a Topic in the Topic Properties editor. HelpStudio comes with a VB6 context id mapper tool, and also a Context Id Mapper if you have a .h file containing the context ids that you want to map to.
Sorry, I did not explain well.
What I want is to create string alias with Help Studio. In example:
C# Code:
// This code open Help File on page HelpPage1.html
Help.ShowHelp(this, "HelpPage1.html", HelpNavigator.TableOfContents);
// This code must open HelpPage1.html too
Help.ShowHelp(this, "AliasToHelpPage1.html", HelpNavigator.TableOfContents);
How cain I make an string alias from a topic page to another?
I am thinking on creating an AliasWidget with some javascript code like: document.location.href='HelpPage1.html', where HelpPage1.html must be a parameter when inserting the widget.
But, I am not sure it is possible to do neither how to do it.
Thank you very much.
You cannot create a pure alias, but what you can do is create the second topic in HelpStudio and use the Include Topic widget in the content to make it's content always be identical to the first topic.
That solution works but has a problem: the breadcrumbs bar is different in the two pages.
I have found an alternative solution to avoid this.
First, I create an AliasToHelpPage1.html file with this content:
<html>
<body onload="document.location.href=HelpPage1.html'">
</body>
</html>
Then I add AliasToHelpPage1.html file to project in Other Files folder in Project Explorer.
Thanks for everything.